C# Class Agnos.Transports.SocketTransport

an implementation of a transport over sockets. example: SocketTransport t = new SocketTransport("localhost", 12345)
Inheritance: BaseTransport
Exibir arquivo Open project: tomerfiliba/agnos Class Usage Examples

Protected Properties

Property Type Description
sock Socket

Public Methods

Method Description
SocketTransport ( IPAddress addr, int port ) : System.Text
SocketTransport ( Socket sock ) : System.Text
SocketTransport ( String host, int port ) : System.Text

Private Methods

Method Description
_connect ( IPAddress addr, int port ) : Socket
_connect ( String host, int port ) : Socket

Method Details

SocketTransport() public method

public SocketTransport ( IPAddress addr, int port ) : System.Text
addr System.Net.IPAddress
port int
return System.Text

SocketTransport() public method

public SocketTransport ( Socket sock ) : System.Text
sock Socket
return System.Text

SocketTransport() public method

public SocketTransport ( String host, int port ) : System.Text
host String
port int
return System.Text

Property Details

sock protected_oe property

protected Socket sock
return Socket