# Titanium.Network.Socket
Socket module, used for creating sockets.
# Methods
# createTCP
createTCP([params]) → Titanium.Network.Socket.TCP
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.
Parameters
Name | Type | Description |
---|---|---|
params | Dictionary<Titanium.Network.Socket.TCP> | Creation parameters. |
Returns
New TCP socket.