C# Class Iaik.Utils.Net.TcpSocketConnection

Inheritance: FrontEndConnection
Afficher le fichier Open project: areiter/InMemoryFuzzing

Protected Properties

Свойство Type Description
_createdFromSocket bool
_endpoint System.Net.IPEndPoint
_remoteHost string
_remotePort int
_socket Socket

Méthodes publiques

Méthode 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 méthode

public Close ( ) : void
Résultat void

Connect() public méthode

public Connect ( ) : void
Résultat void

Flush() public méthode

public Flush ( ) : void
Résultat void

Read() public méthode

public Read ( byte buffer, int offset, int length ) : int
buffer byte
offset int
length int
Résultat int

TcpSocketConnection() public méthode

public TcpSocketConnection ( string>.IDictionary arguments ) : System
arguments string>.IDictionary
Résultat System

TcpSocketConnection() public méthode

public TcpSocketConnection ( Socket socket ) : System
socket Socket
Résultat System

TcpSocketConnection() public méthode

public TcpSocketConnection ( string remoteHost, int port ) : System
remoteHost string
port int
Résultat System

TcpSocketConnection() public méthode

public TcpSocketConnection ( string remoteHost, string port ) : System
remoteHost string
port string
Résultat System

Write() public méthode

public Write ( byte buffer, int offset, int length ) : void
buffer byte
offset int
length int
Résultat 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
Résultat bool

_endpoint protected_oe property

Specifies the endpoint to use for connecting
protected IPEndPoint,System.Net _endpoint
Résultat System.Net.IPEndPoint

_remoteHost protected_oe property

Specifies the remote host to connect to
protected string _remoteHost
Résultat string

_remotePort protected_oe property

Specifies the port to connect to
protected int _remotePort
Résultat int

_socket protected_oe property

The socket
protected Socket _socket
Résultat Socket