C# Class Iaik.Utils.Net.TcpSocketConnection

Inheritance: FrontEndConnection
ファイルを表示 Open project: areiter/InMemoryFuzzing

Protected Properties

Property Type Description
_createdFromSocket bool
_endpoint System.Net.IPEndPoint
_remoteHost string
_remotePort int
_socket Socket

Public Methods

Method Description
Close ( ) : void
Connect ( ) : void
Flush ( ) : void
Read ( byte buffer, int offset, int length ) : int
TcpSocketConnection ( string>.IDictionary arguments ) : System
TcpSocketConnection ( Socket socket ) : System
TcpSocketConnection ( string remoteHost, int port ) : System
TcpSocketConnection ( string remoteHost, string port ) : System
Write ( byte buffer, int offset, int length ) : void

Method Details

Close() public method

public Close ( ) : void
return void

Connect() public method

public Connect ( ) : void
return void

Flush() public method

public Flush ( ) : void
return void

Read() public method

public Read ( byte buffer, int offset, int length ) : int
buffer byte
offset int
length int
return int

TcpSocketConnection() public method

public TcpSocketConnection ( string>.IDictionary arguments ) : System
arguments string>.IDictionary
return System

TcpSocketConnection() public method

public TcpSocketConnection ( Socket socket ) : System
socket Socket
return System

TcpSocketConnection() public method

public TcpSocketConnection ( string remoteHost, int port ) : System
remoteHost string
port int
return System

TcpSocketConnection() public method

public TcpSocketConnection ( string remoteHost, string port ) : System
remoteHost string
port string
return System

Write() public method

public Write ( byte buffer, int offset, int length ) : void
buffer byte
offset int
length int
return void

Property Details

_createdFromSocket protected_oe property

Indicates if this Connection can be reconnected or if it was created using a preconnected socket
Valid arguments: host, port
protected bool _createdFromSocket
return bool

_endpoint protected_oe property

Specifies the endpoint to use for connecting
protected IPEndPoint,System.Net _endpoint
return System.Net.IPEndPoint

_remoteHost protected_oe property

Specifies the remote host to connect to
protected string _remoteHost
return string

_remotePort protected_oe property

Specifies the port to connect to
protected int _remotePort
return int

_socket protected_oe property

The socket
protected Socket _socket
return Socket