C# Class Common.Network.TCPSocket

Mostra file Open project: Almamu/EVESharp Class Usage Examples

Protected Properties

Property Type Description
port ushort

Public Methods

Method Description
Accept ( ) : TCPSocket
Close ( ) : bool
Connect ( string address ) : bool
GetAddress ( ) : string
IsConnected ( ) : bool
Listen ( int backlog ) : bool
Port ( ) : ushort
Recv ( byte data ) : int
Send ( byte data ) : int
TCPSocket ( Socket from, bool socket_listening ) : System
TCPSocket ( TCPSocket from, bool socket_listening ) : System
TCPSocket ( ushort socket_port, bool mode_blocking ) : System

Method Details

Accept() public method

public Accept ( ) : TCPSocket
return TCPSocket

Close() public method

public Close ( ) : bool
return bool

Connect() public method

public Connect ( string address ) : bool
address string
return bool

GetAddress() public method

public GetAddress ( ) : string
return string

IsConnected() public method

public IsConnected ( ) : bool
return bool

Listen() public method

public Listen ( int backlog ) : bool
backlog int
return bool

Port() public method

public Port ( ) : ushort
return ushort

Recv() public method

public Recv ( byte data ) : int
data byte
return int

Send() public method

public Send ( byte data ) : int
data byte
return int

TCPSocket() public method

public TCPSocket ( Socket from, bool socket_listening ) : System
from Socket
socket_listening bool
return System

TCPSocket() public method

public TCPSocket ( TCPSocket from, bool socket_listening ) : System
from TCPSocket
socket_listening bool
return System

TCPSocket() public method

public TCPSocket ( ushort socket_port, bool mode_blocking ) : System
socket_port ushort
mode_blocking bool
return System

Property Details

port protected_oe property

protected ushort port
return ushort