C# 클래스 Iaik.Utils.Net.TcpSocketConnection

상속: FrontEndConnection
파일 보기 프로젝트 열기: areiter/InMemoryFuzzing

보호된 프로퍼티들

프로퍼티 타입 설명
_createdFromSocket bool
_endpoint System.Net.IPEndPoint
_remoteHost string
_remotePort int
_socket Socket

공개 메소드들

메소드 설명
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

메소드 상세

Close() 공개 메소드

public Close ( ) : void
리턴 void

Connect() 공개 메소드

public Connect ( ) : void
리턴 void

Flush() 공개 메소드

public Flush ( ) : void
리턴 void

Read() 공개 메소드

public Read ( byte buffer, int offset, int length ) : int
buffer byte
offset int
length int
리턴 int

TcpSocketConnection() 공개 메소드

public TcpSocketConnection ( string>.IDictionary arguments ) : System
arguments string>.IDictionary
리턴 System

TcpSocketConnection() 공개 메소드

public TcpSocketConnection ( Socket socket ) : System
socket Socket
리턴 System

TcpSocketConnection() 공개 메소드

public TcpSocketConnection ( string remoteHost, int port ) : System
remoteHost string
port int
리턴 System

TcpSocketConnection() 공개 메소드

public TcpSocketConnection ( string remoteHost, string port ) : System
remoteHost string
port string
리턴 System

Write() 공개 메소드

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

프로퍼티 상세

_createdFromSocket 보호되어 있는 프로퍼티

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

_endpoint 보호되어 있는 프로퍼티

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

_remoteHost 보호되어 있는 프로퍼티

Specifies the remote host to connect to
protected string _remoteHost
리턴 string

_remotePort 보호되어 있는 프로퍼티

Specifies the port to connect to
protected int _remotePort
리턴 int

_socket 보호되어 있는 프로퍼티

The socket
protected Socket _socket
리턴 Socket