Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
Ti
Network
TCPSocket
Interface TCPSocket
Hierarchy
Proxy
TCPSocket
Index
Properties
bubbleParent
hostName
isValid
mode
port
stripTerminator
Methods
addEventListener
applyProperties
close
connect
fireEvent
getBubbleParent
getHostName
getIsValid
getMode
getPort
getStripTerminator
listen
removeEventListener
setBubbleParent
setHostName
setIsValid
setMode
setPort
setStripTerminator
write
Properties
public
bubbleParent
:
boolean
public
hostName
:
string
public
isValid
:
boolean
public
mode
:
number
public
port
:
number
public
stripTerminator
:
boolean
Methods
public
addEventListener
(
name
:
string
, callback
:
(...args: any[]) => any
)
Parameters
name:
string
callback:
(...args: any[]) => any
public
applyProperties
(
props
:
Dictionary
)
Parameters
props:
Dictionary
public
close
(
)
public
connect
(
)
public
fireEvent
(
name
:
string
, event
:
Dictionary
)
Parameters
name:
string
event:
Dictionary
public
getBubbleParent
(
)
:
boolean
Returns
boolean
public
getHostName
(
)
:
string
Returns
string
public
getIsValid
(
)
:
boolean
Returns
boolean
public
getMode
(
)
:
number
Returns
number
public
getPort
(
)
:
number
Returns
number
public
getStripTerminator
(
)
:
boolean
Returns
boolean
public
listen
(
)
public
removeEventListener
(
name
:
string
, callback
:
(...args: any[]) => any
)
Parameters
name:
string
callback:
(...args: any[]) => any
public
setBubbleParent
(
bubbleParent
:
boolean
)
Parameters
bubbleParent:
boolean
public
setHostName
(
hostName
:
string
)
Parameters
hostName:
string
public
setIsValid
(
isValid
:
boolean
)
Parameters
isValid:
boolean
public
setMode
(
mode
:
number
)
Parameters
mode:
number
public
setPort
(
port
:
number
)
Parameters
port:
number
public
setStripTerminator
(
stripTerminator
:
boolean
)
Parameters
stripTerminator:
boolean
public
write
(
data
:
any
, sendTo
:
number
)
Parameters
data:
any
sendTo:
number
public
write
(
data
:
string
, sendTo
:
number
)
Parameters
data:
string
sendTo:
number
Globals
Global
Ti
Ti.Android
Ti.Android.Calendar
Ti.App
Ti.App.iOS
Ti.Calendar
Ti.Cloud
Ti.Contacts
Ti.Contacts.Tizen
Ti.Database
Ti.Facebook
Ti.Filesystem
Ti.Geolocation
Ti.Geolocation.Android
Ti.Map
Ti.Media
Ti.Network
Ti.Network.Socket
Ti.Platform
Ti.UI
Ti.UI.Android
Ti.UI.MobileWeb
Ti.UI.iOS
Ti.UI.iPad
Ti.UI.iPhone
Ti.XML
INADDR_ANY
NETWORK_LAN
NETWORK_MOBILE
NETWORK_NONE
NETWORK_UNKNOWN
NETWORK_WIFI
NOTIFICATION_TYPE_ALERT
NOTIFICATION_TYPE_BADGE
NOTIFICATION_TYPE_NEWSSTAND
NOTIFICATION_TYPE_SOUND
READ_MODE
READ_WRITE_MODE
SOCKET_CLOSED
SOCKET_CONNECTED
SOCKET_ERROR
SOCKET_INITIALIZED
SOCKET_LISTENING
TLS_VERSION_1_0
TLS_VERSION_1_1
TLS_VERSION_1_2
WRITE_MODE
bubbleParent
httpURLFormatter
networkType
networkTypeName
online
remoteDeviceUUID
remoteNotificationTypes
remoteNotificationsEnabled
BonjourBrowser
BonjourService
HTTPClient
TCPSocket
bubbleParent
hostName
isValid
mode
port
stripTerminator
addEventListener
applyProperties
close
connect
fireEvent
getBubbleParent
getHostName
getIsValid
getMode
getPort
getStripTerminator
listen
removeEventListener
setBubbleParent
setHostName
setIsValid
setMode
setPort
setStripTerminator
write
addConnectivityListener
addEventListener
applyProperties
createBonjourBrowser
createBonjourService
createHTTPClient
createTCPSocket
decodeURIComponent
encodeURIComponent
fireEvent
getBubbleParent
getHttpURLFormatter
getNetworkType
getNetworkTypeName
getOnline
getRemoteDeviceUUID
getRemoteNotificationTypes
getRemoteNotificationsEnabled
registerForPushNotifications
removeConnectivityListener
removeEventListener
setBubbleParent
setHttpURLFormatter
unregisterForPushNotifications