Socket module, used for creating sockets.
Returns a new TCP socket object.
Takes a dictionary containing properties defined in Titanium.Network.Socket.TCP.
Some properties are only needed based on whether the socket will be a connecting (client) socket or a listening (server) socket.
New TCP socket.
State value representing a closed socket.
State value representing a connected socket.
State value indicating an error has occurred on the socket.
State value representing an initialized socket.
The initial state of a newly-created socket.
State value representing a socket that is listening for connections.