Titanium.Network.Socket.createTCP

Platform Since
Android 1.7
iPhone 1.7
iPad 1.7

Summary

Returns a new TCP socket object.

Description

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.

Arguments

Name Type Summary
params Dictionary<Titanium.Network.Socket.TCP>

Creation parameters. Optional.

Return Type