StreamPeerTCP

Inherits: StreamPeer < RefCounted < Object

There is currently no description for this class. Please help us by contributing one!

Methods

Error

bind ( int port, String host=”*” )

Error

connect_to_host ( String host, int port )

void

disconnect_from_host ( )

String

get_connected_host ( ) const

int

get_connected_port ( ) const

int

get_local_port ( ) const

Status

get_status ( ) const

Error

poll ( )

void

set_no_delay ( bool enabled )


Enumerations

enum Status:

Status STATUS_NONE = 0

There is currently no description for this enum. Please help us by contributing one!

Status STATUS_CONNECTING = 1

There is currently no description for this enum. Please help us by contributing one!

Status STATUS_CONNECTED = 2

There is currently no description for this enum. Please help us by contributing one!

Status STATUS_ERROR = 3

There is currently no description for this enum. Please help us by contributing one!


Method Descriptions

Error bind ( int port, String host=”*” )

There is currently no description for this method. Please help us by contributing one!


Error connect_to_host ( String host, int port )

There is currently no description for this method. Please help us by contributing one!


void disconnect_from_host ( )

There is currently no description for this method. Please help us by contributing one!


String get_connected_host ( ) const

There is currently no description for this method. Please help us by contributing one!


int get_connected_port ( ) const

There is currently no description for this method. Please help us by contributing one!


int get_local_port ( ) const

There is currently no description for this method. Please help us by contributing one!


Status get_status ( ) const

There is currently no description for this method. Please help us by contributing one!


Error poll ( )

There is currently no description for this method. Please help us by contributing one!


void set_no_delay ( bool enabled )

There is currently no description for this method. Please help us by contributing one!