C# 클래스 BytesRoad.Net.Sockets.SocketBase

Summary description for SocketBase.
상속: BytesRoad.Net.Sockets.Advanced.AsyncBase, IDisposable
파일 보기 프로젝트 열기: NikolayIT/RatioMaster.NET 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
_proxyPassword byte[]
_proxyPort int
_proxyServer string
_proxyUser byte[]
_socket Socket

Private Properties

프로퍼티 타입 설명
Accept SocketBase
BeginAccept IAsyncResult
BeginBind IAsyncResult
BeginConnect IAsyncResult
BeginConnect IAsyncResult
BeginGetHostByName IAsyncResult
BeginReceive IAsyncResult
BeginSend IAsyncResult
Bind void
Close void
Connect void
Connect void
ConstructEndPoint System.Net.IPEndPoint
EndAccept SocketBase
EndBind void
EndConnect void
EndGetHostByName System.Net.IPHostEntry
EndReceive int
EndSend int
GetHostByName System.Net.IPHostEntry
Listen void
Receive int
Receive int
Receive int
Send int
Send int
Send int
SetSocketOption void
SetSocketOption void
SetSocketOption void
Shutdown void

공개 메소드들

메소드 설명
Dispose ( ) : void

보호된 메소드들

메소드 설명
CheckDisposed ( ) : void
Dispose ( bool disposing ) : void
SocketBase ( ) : System
SocketBase ( Socket systemSocket ) : System
SocketBase ( string proxyServer, int proxyPort, byte proxyUser, byte proxyPassword ) : System

비공개 메소드들

메소드 설명
Accept ( ) : SocketBase
BeginAccept ( AsyncCallback callback, object state ) : IAsyncResult
BeginBind ( SocketBase socket, AsyncCallback callback, object state ) : IAsyncResult
BeginConnect ( EndPoint remoteEP, AsyncCallback callback, object state ) : IAsyncResult
BeginConnect ( string hostName, int port, AsyncCallback callback, object state ) : IAsyncResult
BeginGetHostByName ( string hostName, AsyncCallback cb, object state ) : IAsyncResult
BeginReceive ( byte buffer, int offset, int size, AsyncCallback callback, object state ) : IAsyncResult
BeginSend ( byte buffer, int offset, int size, AsyncCallback callback, object state ) : IAsyncResult
Bind ( SocketBase socket ) : void
Close ( ) : void
Connect ( EndPoint remoteEP ) : void
Connect ( string hostName, int port ) : void
ConstructEndPoint ( IPHostEntry host, int port ) : IPEndPoint
EndAccept ( IAsyncResult asyncResult ) : SocketBase
EndBind ( IAsyncResult ar ) : void
EndConnect ( IAsyncResult asyncResult ) : void
EndGetHostByName ( IAsyncResult ar ) : IPHostEntry
EndReceive ( IAsyncResult asyncResult ) : int
EndSend ( IAsyncResult asyncResult ) : int
GetHostByName ( string hostName ) : IPHostEntry
Listen ( int backlog ) : void
Receive ( byte buffer ) : int
Receive ( byte buffer, int size ) : int
Receive ( byte buffer, int offset, int size ) : int
Send ( byte buffer ) : int
Send ( byte buffer, int size ) : int
Send ( byte buffer, int offset, int size ) : int
SetSocketOption ( SocketOptionLevel optionLevel, SocketOptionName optionName, byte optionValue ) : void
SetSocketOption ( SocketOptionLevel optionLevel, SocketOptionName optionName, int optionValue ) : void
SetSocketOption ( SocketOptionLevel optionLevel, SocketOptionName optionName, object optionValue ) : void
Shutdown ( SocketShutdown how ) : void

메소드 상세

CheckDisposed() 보호된 메소드

protected CheckDisposed ( ) : void
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

SocketBase() 보호된 메소드

protected SocketBase ( ) : System
리턴 System

SocketBase() 보호된 메소드

protected SocketBase ( Socket systemSocket ) : System
systemSocket Socket
리턴 System

SocketBase() 보호된 메소드

protected SocketBase ( string proxyServer, int proxyPort, byte proxyUser, byte proxyPassword ) : System
proxyServer string
proxyPort int
proxyUser byte
proxyPassword byte
리턴 System

프로퍼티 상세

_proxyPassword 보호되어 있는 프로퍼티

protected byte[] _proxyPassword
리턴 byte[]

_proxyPort 보호되어 있는 프로퍼티

protected int _proxyPort
리턴 int

_proxyServer 보호되어 있는 프로퍼티

protected string _proxyServer
리턴 string

_proxyUser 보호되어 있는 프로퍼티

protected byte[] _proxyUser
리턴 byte[]

_socket 보호되어 있는 프로퍼티

protected Socket _socket
리턴 Socket