AcceptedCallbackArgs

Argument object passed to the accepted callback when a listener accepts a connection.

  • 1.7
  • 1.7
  • 1.7

NOTE This is an abstract type. Any object meeting this description can be used where this type is used.

Defined By

Properties

AcceptedCallbackArgs
inbound : Titanium.Network.Socket.TCP

Socket which represents the inbound connection.

Socket which represents the inbound connection.

This should be considered a 'connected' socket and is created in the CONNECTED state.

AcceptedCallbackArgs
socket : Titanium.Network.Socket.TCP

Socket which received the connection.

Socket which received the connection.