Name

socket state, socketstate, kPMElementSocketState — Socket states.

Synopsis

socket state : string, choice, default

Description

Socket states.

socket state is a string. If socket state is omitted, the default preparing is used. socket state must be one of the following three constants:

  • preparing, kPMElementSocketState_Preparing. Socket is being prepared.
  • listening, kPMElementSocketState_Listening. Socket is listening for connections.
  • error, kPMElementSocketState_Error. Socket is closed due to an error.