C# 클래스 System.Net.Sockets.Socket

상속: IDisposable
파일 보기 프로젝트 열기: dotnet/corefx 1 사용 예제들

Private Properties

프로퍼티 타입 설명
BeginConnectEx IAsyncResult
CallSerializeCheckDnsEndPoint System.Net.Internals.SocketAddress
CanTryAddressFamily bool
CanUseConnectEx bool
CheckCacheRemote System.Net.Internals.SocketAddress
CheckSetOptionPermissions void
CreateAcceptSocket Socket
DebugMembers void
DnsCallback void
DoBeginAccept void
DoBeginDisconnect void
DoBeginReceive SocketError
DoBeginReceive SocketError
DoBeginReceiveFrom void
DoBeginSend SocketError
DoBeginSend SocketError
DoBeginSendTo void
DoBind void
DoConnect void
DoDnsCallback bool
DoMultipleAddressConnectCallback bool
EndAccept Socket
EndAccept Socket
GetIPProtocolInformation void
GetIPv6MulticastOpt IPv6MulticastOption
GetLingerOpt LingerOption
GetMulticastOpt MulticastOption
InitializeSockets void
InternalBind void
InternalConnect void
InternalSetBlocking SocketError
InternalSetBlocking void
InternalShutdown void
MultipleAddressConnectCallback void
PostOneBeginConnect object
RemapIPEndPoint IPEndPoint
SetIPv6MulticastOption void
SetLingerOption void
SetMulticastOption void
SetReceivingPacketInformation void
SetSocketOption void
SetToConnected void
SetToDisconnected void
SnapshotAndSerialize Internals.SocketAddress
Socket System.Collections.Generic
ThrowIfNotSupportsMultipleConnectAttempts void
UnsafeBeginConnect IAsyncResult
UnsafeBeginReceive IAsyncResult
UnsafeBeginSend IAsyncResult
UpdateAcceptSocket Socket
UpdateStatusAfterSocketError void
UpdateStatusAfterSocketError void
ValidateBlockingMode void

공개 메소드들

메소드 설명
Accept ( ) : Socket
AcceptAsync ( SocketAsyncEventArgs e ) : bool
BeginAccept ( AsyncCallback callback, object state ) : IAsyncResult
BeginAccept ( Socket acceptSocket, int receiveSize, AsyncCallback callback, object state ) : IAsyncResult
BeginAccept ( int receiveSize, AsyncCallback callback, object state ) : IAsyncResult
BeginConnect ( EndPoint remoteEP, AsyncCallback callback, object state ) : IAsyncResult
BeginConnect ( IPAddress address, int port, AsyncCallback requestCallback, object state ) : IAsyncResult
BeginConnect ( string host, int port, AsyncCallback requestCallback, object state ) : IAsyncResult
BeginDisconnect ( bool reuseSocket, AsyncCallback callback, object state ) : IAsyncResult
BeginReceive ( IList buffers, SocketFlags socketFlags, AsyncCallback callback, object state ) : IAsyncResult
BeginReceive ( IList buffers, SocketFlags socketFlags, SocketError &errorCode, AsyncCallback callback, object state ) : IAsyncResult
BeginReceive ( byte buffer, int offset, int size, SocketFlags socketFlags, AsyncCallback callback, object state ) : IAsyncResult
BeginReceive ( byte buffer, int offset, int size, SocketFlags socketFlags, SocketError &errorCode, AsyncCallback callback, object state ) : IAsyncResult
BeginReceiveFrom ( byte buffer, int offset, int size, SocketFlags socketFlags, EndPoint &remoteEP, AsyncCallback callback, object state ) : IAsyncResult
BeginReceiveMessageFrom ( byte buffer, int offset, int size, SocketFlags socketFlags, EndPoint &remoteEP, AsyncCallback callback, object state ) : IAsyncResult
BeginSend ( IList buffers, SocketFlags socketFlags, AsyncCallback callback, object state ) : IAsyncResult
BeginSend ( IList buffers, SocketFlags socketFlags, SocketError &errorCode, AsyncCallback callback, object state ) : IAsyncResult
BeginSend ( byte buffer, int offset, int size, SocketFlags socketFlags, AsyncCallback callback, object state ) : IAsyncResult
BeginSend ( byte buffer, int offset, int size, SocketFlags socketFlags, SocketError &errorCode, AsyncCallback callback, object state ) : IAsyncResult
BeginSendTo ( byte buffer, int offset, int size, SocketFlags socketFlags, EndPoint remoteEP, AsyncCallback callback, object state ) : IAsyncResult
Bind ( EndPoint localEP ) : void
CancelConnectAsync ( SocketAsyncEventArgs e ) : void
Close ( ) : void
Close ( int timeout ) : void
Connect ( EndPoint remoteEP ) : void
Connect ( IPAddress address, int port ) : void
Connect ( string host, int port ) : void
ConnectAsync ( SocketAsyncEventArgs e ) : bool
ConnectAsync ( SocketType socketType, ProtocolType protocolType, SocketAsyncEventArgs e ) : bool
Disconnect ( bool reuseSocket ) : void
DisconnectAsync ( SocketAsyncEventArgs e ) : bool
Dispose ( ) : void
DuplicateAndClose ( int targetProcessId ) : SocketInformation
EndAccept ( IAsyncResult asyncResult ) : Socket
EndConnect ( IAsyncResult asyncResult ) : void
EndDisconnect ( IAsyncResult asyncResult ) : void
EndReceive ( IAsyncResult asyncResult ) : int
EndReceive ( IAsyncResult asyncResult, SocketError &errorCode ) : int
EndReceiveFrom ( IAsyncResult asyncResult, EndPoint &endPoint ) : int
EndReceiveMessageFrom ( IAsyncResult asyncResult, SocketFlags &socketFlags, EndPoint &endPoint, IPPacketInformation &ipPacketInformation ) : int
EndSend ( IAsyncResult asyncResult ) : int
EndSend ( IAsyncResult asyncResult, SocketError &errorCode ) : int
EndSendTo ( IAsyncResult asyncResult ) : int
GetSocketOption ( SocketOptionLevel optionLevel, SocketOptionName optionName, int optionLength ) : byte[]
GetSocketOption ( SocketOptionLevel optionLevel, SocketOptionName optionName ) : object
GetSocketOption ( SocketOptionLevel optionLevel, SocketOptionName optionName, byte optionValue ) : void
IOControl ( IOControlCode ioControlCode, byte optionInValue, byte optionOutValue ) : int
IOControl ( int ioControlCode, byte optionInValue, byte optionOutValue ) : int
Listen ( int backlog ) : void
Poll ( int microSeconds, SelectMode mode ) : bool
Receive ( IList buffers ) : int
Receive ( IList buffers, SocketFlags socketFlags ) : int
Receive ( IList buffers, SocketFlags socketFlags, SocketError &errorCode ) : int
Receive ( byte buffer ) : int
Receive ( byte buffer, SocketFlags socketFlags ) : int
Receive ( byte buffer, int size, SocketFlags socketFlags ) : int
Receive ( byte buffer, int offset, int size, SocketFlags socketFlags ) : int
Receive ( byte buffer, int offset, int size, SocketFlags socketFlags, SocketError &errorCode ) : int
ReceiveAsync ( SocketAsyncEventArgs e ) : bool
ReceiveFrom ( byte buffer, EndPoint &remoteEP ) : int
ReceiveFrom ( byte buffer, SocketFlags socketFlags, EndPoint &remoteEP ) : int
ReceiveFrom ( byte buffer, int size, SocketFlags socketFlags, EndPoint &remoteEP ) : int
ReceiveFrom ( byte buffer, int offset, int size, SocketFlags socketFlags, EndPoint &remoteEP ) : int
ReceiveFromAsync ( SocketAsyncEventArgs e ) : bool
ReceiveMessageFrom ( byte buffer, int offset, int size, SocketFlags &socketFlags, EndPoint &remoteEP, IPPacketInformation &ipPacketInformation ) : int
ReceiveMessageFromAsync ( SocketAsyncEventArgs e ) : bool
Select ( IList checkRead, IList checkWrite, IList checkError, int microSeconds ) : void
Send ( IList buffers ) : int
Send ( IList buffers, SocketFlags socketFlags ) : int
Send ( IList buffers, SocketFlags socketFlags, SocketError &errorCode ) : int
Send ( byte buffer ) : int
Send ( byte buffer, SocketFlags socketFlags ) : int
Send ( byte buffer, int size, SocketFlags socketFlags ) : int
Send ( byte buffer, int offset, int size, SocketFlags socketFlags ) : int
Send ( byte buffer, int offset, int size, SocketFlags socketFlags, SocketError &errorCode ) : int
SendAsync ( SocketAsyncEventArgs e ) : bool
SendPacketsAsync ( SocketAsyncEventArgs e ) : bool
SendTo ( byte buffer, EndPoint remoteEP ) : int
SendTo ( byte buffer, SocketFlags socketFlags, EndPoint remoteEP ) : int
SendTo ( byte buffer, int size, SocketFlags socketFlags, EndPoint remoteEP ) : int
SendTo ( byte buffer, int offset, int size, SocketFlags socketFlags, EndPoint remoteEP ) : int
SendToAsync ( SocketAsyncEventArgs e ) : bool
SetIPProtectionLevel ( IPProtectionLevel level ) : void
SetSocketOption ( SocketOptionLevel optionLevel, SocketOptionName optionName, bool optionValue ) : void
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
Socket ( AddressFamily addressFamily, SocketType socketType, ProtocolType protocolType ) : System.Collections.Generic
Socket ( SocketInformation socketInformation ) : System.Collections.Generic
Socket ( SocketType socketType, ProtocolType protocolType ) : System.Collections.Generic

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

비공개 메소드들

메소드 설명
BeginConnectEx ( EndPoint remoteEP, bool flowContext, AsyncCallback callback, object state ) : IAsyncResult
CallSerializeCheckDnsEndPoint ( EndPoint remoteEP ) : SocketAddress
CanTryAddressFamily ( AddressFamily family ) : bool
CanUseConnectEx ( EndPoint remoteEP ) : bool
CheckCacheRemote ( EndPoint &remoteEP, bool isOverwrite ) : SocketAddress
CheckSetOptionPermissions ( SocketOptionLevel optionLevel, SocketOptionName optionName ) : void
CreateAcceptSocket ( SafeCloseSocket fd, EndPoint remoteEP ) : Socket
DebugMembers ( ) : void
DnsCallback ( IAsyncResult result ) : void
DoBeginAccept ( Socket acceptSocket, int receiveSize, AcceptOverlappedAsyncResult asyncResult ) : void
DoBeginDisconnect ( bool reuseSocket, DisconnectOverlappedAsyncResult asyncResult ) : void
DoBeginReceive ( IList buffers, SocketFlags socketFlags, OverlappedAsyncResult asyncResult ) : SocketError
DoBeginReceive ( byte buffer, int offset, int size, SocketFlags socketFlags, OverlappedAsyncResult asyncResult ) : SocketError
DoBeginReceiveFrom ( byte buffer, int offset, int size, SocketFlags socketFlags, EndPoint endPointSnapshot, Internals socketAddress, OriginalAddressOverlappedAsyncResult asyncResult ) : void
DoBeginSend ( IList buffers, SocketFlags socketFlags, OverlappedAsyncResult asyncResult ) : SocketError
DoBeginSend ( byte buffer, int offset, int size, SocketFlags socketFlags, OverlappedAsyncResult asyncResult ) : SocketError
DoBeginSendTo ( byte buffer, int offset, int size, SocketFlags socketFlags, EndPoint endPointSnapshot, Internals socketAddress, OverlappedAsyncResult asyncResult ) : void
DoBind ( EndPoint endPointSnapshot, Internals socketAddress ) : void
DoConnect ( EndPoint endPointSnapshot, Internals socketAddress ) : void
DoDnsCallback ( IAsyncResult result, MultipleAddressConnectAsyncResult context ) : bool
DoMultipleAddressConnectCallback ( object result, MultipleAddressConnectAsyncResult context ) : bool
EndAccept ( byte &buffer, IAsyncResult asyncResult ) : Socket
EndAccept ( byte &buffer, int &bytesTransferred, IAsyncResult asyncResult ) : Socket
GetIPProtocolInformation ( AddressFamily addressFamily, Internals socketAddress, bool &isIPv4, bool &isIPv6 ) : void
GetIPv6MulticastOpt ( SocketOptionName optionName ) : IPv6MulticastOption
GetLingerOpt ( ) : LingerOption
GetMulticastOpt ( SocketOptionName optionName ) : MulticastOption
InitializeSockets ( ) : void
InternalBind ( EndPoint localEP ) : void
InternalConnect ( EndPoint remoteEP ) : void
InternalSetBlocking ( bool desired, bool &current ) : SocketError
InternalSetBlocking ( bool desired ) : void
InternalShutdown ( SocketShutdown how ) : void
MultipleAddressConnectCallback ( IAsyncResult result ) : void
PostOneBeginConnect ( MultipleAddressConnectAsyncResult context ) : object
RemapIPEndPoint ( IPEndPoint input ) : IPEndPoint
SetIPv6MulticastOption ( SocketOptionName optionName, IPv6MulticastOption MR ) : void
SetLingerOption ( LingerOption lref ) : void
SetMulticastOption ( SocketOptionName optionName, MulticastOption MR ) : void
SetReceivingPacketInformation ( ) : void
SetSocketOption ( SocketOptionLevel optionLevel, SocketOptionName optionName, int optionValue, bool silent ) : void
SetToConnected ( ) : void
SetToDisconnected ( ) : void
SnapshotAndSerialize ( EndPoint &remoteEP ) : Internals.SocketAddress
Socket ( SafeCloseSocket fd ) : System.Collections.Generic
ThrowIfNotSupportsMultipleConnectAttempts ( ) : void
UnsafeBeginConnect ( EndPoint remoteEP, AsyncCallback callback, object state, bool flowContext = false ) : IAsyncResult
UnsafeBeginReceive ( byte buffer, int offset, int size, SocketFlags socketFlags, AsyncCallback callback, object state ) : IAsyncResult
UnsafeBeginSend ( byte buffer, int offset, int size, SocketFlags socketFlags, AsyncCallback callback, object state ) : IAsyncResult
UpdateAcceptSocket ( Socket socket, EndPoint remoteEP ) : Socket
UpdateStatusAfterSocketError ( SocketError errorCode ) : void
UpdateStatusAfterSocketError ( SocketException socketException ) : void
ValidateBlockingMode ( ) : void

메소드 상세

Accept() 공개 메소드

public Accept ( ) : Socket
리턴 Socket

AcceptAsync() 공개 메소드

public AcceptAsync ( SocketAsyncEventArgs e ) : bool
e SocketAsyncEventArgs
리턴 bool

BeginAccept() 공개 메소드

public BeginAccept ( AsyncCallback callback, object state ) : IAsyncResult
callback AsyncCallback
state object
리턴 IAsyncResult

BeginAccept() 공개 메소드

public BeginAccept ( Socket acceptSocket, int receiveSize, AsyncCallback callback, object state ) : IAsyncResult
acceptSocket Socket
receiveSize int
callback AsyncCallback
state object
리턴 IAsyncResult

BeginAccept() 공개 메소드

public BeginAccept ( int receiveSize, AsyncCallback callback, object state ) : IAsyncResult
receiveSize int
callback AsyncCallback
state object
리턴 IAsyncResult

BeginConnect() 공개 메소드

public BeginConnect ( EndPoint remoteEP, AsyncCallback callback, object state ) : IAsyncResult
remoteEP System.Net.EndPoint
callback AsyncCallback
state object
리턴 IAsyncResult

BeginConnect() 공개 메소드

public BeginConnect ( IPAddress address, int port, AsyncCallback requestCallback, object state ) : IAsyncResult
address System.Net.IPAddress
port int
requestCallback AsyncCallback
state object
리턴 IAsyncResult

BeginConnect() 공개 메소드

public BeginConnect ( string host, int port, AsyncCallback requestCallback, object state ) : IAsyncResult
host string
port int
requestCallback AsyncCallback
state object
리턴 IAsyncResult

BeginDisconnect() 공개 메소드

public BeginDisconnect ( bool reuseSocket, AsyncCallback callback, object state ) : IAsyncResult
reuseSocket bool
callback AsyncCallback
state object
리턴 IAsyncResult

BeginReceive() 공개 메소드

public BeginReceive ( IList buffers, SocketFlags socketFlags, AsyncCallback callback, object state ) : IAsyncResult
buffers IList
socketFlags SocketFlags
callback AsyncCallback
state object
리턴 IAsyncResult

BeginReceive() 공개 메소드

public BeginReceive ( IList buffers, SocketFlags socketFlags, SocketError &errorCode, AsyncCallback callback, object state ) : IAsyncResult
buffers IList
socketFlags SocketFlags
errorCode SocketError
callback AsyncCallback
state object
리턴 IAsyncResult

BeginReceive() 공개 메소드

public BeginReceive ( byte buffer, int offset, int size, SocketFlags socketFlags, AsyncCallback callback, object state ) : IAsyncResult
buffer byte
offset int
size int
socketFlags SocketFlags
callback AsyncCallback
state object
리턴 IAsyncResult

BeginReceive() 공개 메소드

public BeginReceive ( byte buffer, int offset, int size, SocketFlags socketFlags, SocketError &errorCode, AsyncCallback callback, object state ) : IAsyncResult
buffer byte
offset int
size int
socketFlags SocketFlags
errorCode SocketError
callback AsyncCallback
state object
리턴 IAsyncResult

BeginReceiveFrom() 공개 메소드

public BeginReceiveFrom ( byte buffer, int offset, int size, SocketFlags socketFlags, EndPoint &remoteEP, AsyncCallback callback, object state ) : IAsyncResult
buffer byte
offset int
size int
socketFlags SocketFlags
remoteEP System.Net.EndPoint
callback AsyncCallback
state object
리턴 IAsyncResult

BeginReceiveMessageFrom() 공개 메소드

public BeginReceiveMessageFrom ( byte buffer, int offset, int size, SocketFlags socketFlags, EndPoint &remoteEP, AsyncCallback callback, object state ) : IAsyncResult
buffer byte
offset int
size int
socketFlags SocketFlags
remoteEP System.Net.EndPoint
callback AsyncCallback
state object
리턴 IAsyncResult

BeginSend() 공개 메소드

public BeginSend ( IList buffers, SocketFlags socketFlags, AsyncCallback callback, object state ) : IAsyncResult
buffers IList
socketFlags SocketFlags
callback AsyncCallback
state object
리턴 IAsyncResult

BeginSend() 공개 메소드

public BeginSend ( IList buffers, SocketFlags socketFlags, SocketError &errorCode, AsyncCallback callback, object state ) : IAsyncResult
buffers IList
socketFlags SocketFlags
errorCode SocketError
callback AsyncCallback
state object
리턴 IAsyncResult

BeginSend() 공개 메소드

public BeginSend ( byte buffer, int offset, int size, SocketFlags socketFlags, AsyncCallback callback, object state ) : IAsyncResult
buffer byte
offset int
size int
socketFlags SocketFlags
callback AsyncCallback
state object
리턴 IAsyncResult

BeginSend() 공개 메소드

public BeginSend ( byte buffer, int offset, int size, SocketFlags socketFlags, SocketError &errorCode, AsyncCallback callback, object state ) : IAsyncResult
buffer byte
offset int
size int
socketFlags SocketFlags
errorCode SocketError
callback AsyncCallback
state object
리턴 IAsyncResult

BeginSendTo() 공개 메소드

public BeginSendTo ( byte buffer, int offset, int size, SocketFlags socketFlags, EndPoint remoteEP, AsyncCallback callback, object state ) : IAsyncResult
buffer byte
offset int
size int
socketFlags SocketFlags
remoteEP System.Net.EndPoint
callback AsyncCallback
state object
리턴 IAsyncResult

Bind() 공개 메소드

public Bind ( EndPoint localEP ) : void
localEP System.Net.EndPoint
리턴 void

CancelConnectAsync() 공개 정적인 메소드

public static CancelConnectAsync ( SocketAsyncEventArgs e ) : void
e SocketAsyncEventArgs
리턴 void

Close() 공개 메소드

public Close ( ) : void
리턴 void

Close() 공개 메소드

public Close ( int timeout ) : void
timeout int
리턴 void

Connect() 공개 메소드

public Connect ( EndPoint remoteEP ) : void
remoteEP System.Net.EndPoint
리턴 void

Connect() 공개 메소드

public Connect ( IPAddress address, int port ) : void
address System.Net.IPAddress
port int
리턴 void

Connect() 공개 메소드

public Connect ( string host, int port ) : void
host string
port int
리턴 void

ConnectAsync() 공개 메소드

public ConnectAsync ( SocketAsyncEventArgs e ) : bool
e SocketAsyncEventArgs
리턴 bool

ConnectAsync() 공개 정적인 메소드

public static ConnectAsync ( SocketType socketType, ProtocolType protocolType, SocketAsyncEventArgs e ) : bool
socketType SocketType
protocolType ProtocolType
e SocketAsyncEventArgs
리턴 bool

Disconnect() 공개 메소드

public Disconnect ( bool reuseSocket ) : void
reuseSocket bool
리턴 void

DisconnectAsync() 공개 메소드

public DisconnectAsync ( SocketAsyncEventArgs e ) : bool
e SocketAsyncEventArgs
리턴 bool

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

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

DuplicateAndClose() 공개 메소드

public DuplicateAndClose ( int targetProcessId ) : SocketInformation
targetProcessId int
리턴 SocketInformation

EndAccept() 공개 메소드

public EndAccept ( IAsyncResult asyncResult ) : Socket
asyncResult IAsyncResult
리턴 Socket

EndConnect() 공개 메소드

public EndConnect ( IAsyncResult asyncResult ) : void
asyncResult IAsyncResult
리턴 void

EndDisconnect() 공개 메소드

public EndDisconnect ( IAsyncResult asyncResult ) : void
asyncResult IAsyncResult
리턴 void

EndReceive() 공개 메소드

public EndReceive ( IAsyncResult asyncResult ) : int
asyncResult IAsyncResult
리턴 int

EndReceive() 공개 메소드

public EndReceive ( IAsyncResult asyncResult, SocketError &errorCode ) : int
asyncResult IAsyncResult
errorCode SocketError
리턴 int

EndReceiveFrom() 공개 메소드

public EndReceiveFrom ( IAsyncResult asyncResult, EndPoint &endPoint ) : int
asyncResult IAsyncResult
endPoint System.Net.EndPoint
리턴 int

EndReceiveMessageFrom() 공개 메소드

public EndReceiveMessageFrom ( IAsyncResult asyncResult, SocketFlags &socketFlags, EndPoint &endPoint, IPPacketInformation &ipPacketInformation ) : int
asyncResult IAsyncResult
socketFlags SocketFlags
endPoint System.Net.EndPoint
ipPacketInformation IPPacketInformation
리턴 int

EndSend() 공개 메소드

public EndSend ( IAsyncResult asyncResult ) : int
asyncResult IAsyncResult
리턴 int

EndSend() 공개 메소드

public EndSend ( IAsyncResult asyncResult, SocketError &errorCode ) : int
asyncResult IAsyncResult
errorCode SocketError
리턴 int

EndSendTo() 공개 메소드

public EndSendTo ( IAsyncResult asyncResult ) : int
asyncResult IAsyncResult
리턴 int

GetSocketOption() 공개 메소드

public GetSocketOption ( SocketOptionLevel optionLevel, SocketOptionName optionName, int optionLength ) : byte[]
optionLevel SocketOptionLevel
optionName SocketOptionName
optionLength int
리턴 byte[]

GetSocketOption() 공개 메소드

public GetSocketOption ( SocketOptionLevel optionLevel, SocketOptionName optionName ) : object
optionLevel SocketOptionLevel
optionName SocketOptionName
리턴 object

GetSocketOption() 공개 메소드

public GetSocketOption ( SocketOptionLevel optionLevel, SocketOptionName optionName, byte optionValue ) : void
optionLevel SocketOptionLevel
optionName SocketOptionName
optionValue byte
리턴 void

IOControl() 공개 메소드

public IOControl ( IOControlCode ioControlCode, byte optionInValue, byte optionOutValue ) : int
ioControlCode IOControlCode
optionInValue byte
optionOutValue byte
리턴 int

IOControl() 공개 메소드

public IOControl ( int ioControlCode, byte optionInValue, byte optionOutValue ) : int
ioControlCode int
optionInValue byte
optionOutValue byte
리턴 int

Listen() 공개 메소드

public Listen ( int backlog ) : void
backlog int
리턴 void

Poll() 공개 메소드

public Poll ( int microSeconds, SelectMode mode ) : bool
microSeconds int
mode SelectMode
리턴 bool

Receive() 공개 메소드

public Receive ( IList buffers ) : int
buffers IList
리턴 int

Receive() 공개 메소드

public Receive ( IList buffers, SocketFlags socketFlags ) : int
buffers IList
socketFlags SocketFlags
리턴 int

Receive() 공개 메소드

public Receive ( IList buffers, SocketFlags socketFlags, SocketError &errorCode ) : int
buffers IList
socketFlags SocketFlags
errorCode SocketError
리턴 int

Receive() 공개 메소드

public Receive ( byte buffer ) : int
buffer byte
리턴 int

Receive() 공개 메소드

public Receive ( byte buffer, SocketFlags socketFlags ) : int
buffer byte
socketFlags SocketFlags
리턴 int

Receive() 공개 메소드

public Receive ( byte buffer, int size, SocketFlags socketFlags ) : int
buffer byte
size int
socketFlags SocketFlags
리턴 int

Receive() 공개 메소드

public Receive ( byte buffer, int offset, int size, SocketFlags socketFlags ) : int
buffer byte
offset int
size int
socketFlags SocketFlags
리턴 int

Receive() 공개 메소드

public Receive ( byte buffer, int offset, int size, SocketFlags socketFlags, SocketError &errorCode ) : int
buffer byte
offset int
size int
socketFlags SocketFlags
errorCode SocketError
리턴 int

ReceiveAsync() 공개 메소드

public ReceiveAsync ( SocketAsyncEventArgs e ) : bool
e SocketAsyncEventArgs
리턴 bool

ReceiveFrom() 공개 메소드

public ReceiveFrom ( byte buffer, EndPoint &remoteEP ) : int
buffer byte
remoteEP EndPoint
리턴 int

ReceiveFrom() 공개 메소드

public ReceiveFrom ( byte buffer, SocketFlags socketFlags, EndPoint &remoteEP ) : int
buffer byte
socketFlags SocketFlags
remoteEP EndPoint
리턴 int

ReceiveFrom() 공개 메소드

public ReceiveFrom ( byte buffer, int size, SocketFlags socketFlags, EndPoint &remoteEP ) : int
buffer byte
size int
socketFlags SocketFlags
remoteEP EndPoint
리턴 int

ReceiveFrom() 공개 메소드

public ReceiveFrom ( byte buffer, int offset, int size, SocketFlags socketFlags, EndPoint &remoteEP ) : int
buffer byte
offset int
size int
socketFlags SocketFlags
remoteEP EndPoint
리턴 int

ReceiveFromAsync() 공개 메소드

public ReceiveFromAsync ( SocketAsyncEventArgs e ) : bool
e SocketAsyncEventArgs
리턴 bool

ReceiveMessageFrom() 공개 메소드

public ReceiveMessageFrom ( byte buffer, int offset, int size, SocketFlags &socketFlags, EndPoint &remoteEP, IPPacketInformation &ipPacketInformation ) : int
buffer byte
offset int
size int
socketFlags SocketFlags
remoteEP EndPoint
ipPacketInformation IPPacketInformation
리턴 int

ReceiveMessageFromAsync() 공개 메소드

public ReceiveMessageFromAsync ( SocketAsyncEventArgs e ) : bool
e SocketAsyncEventArgs
리턴 bool

Select() 공개 정적인 메소드

public static Select ( IList checkRead, IList checkWrite, IList checkError, int microSeconds ) : void
checkRead IList
checkWrite IList
checkError IList
microSeconds int
리턴 void

Send() 공개 메소드

public Send ( IList buffers ) : int
buffers IList
리턴 int

Send() 공개 메소드

public Send ( IList buffers, SocketFlags socketFlags ) : int
buffers IList
socketFlags SocketFlags
리턴 int

Send() 공개 메소드

public Send ( IList buffers, SocketFlags socketFlags, SocketError &errorCode ) : int
buffers IList
socketFlags SocketFlags
errorCode SocketError
리턴 int

Send() 공개 메소드

public Send ( byte buffer ) : int
buffer byte
리턴 int

Send() 공개 메소드

public Send ( byte buffer, SocketFlags socketFlags ) : int
buffer byte
socketFlags SocketFlags
리턴 int

Send() 공개 메소드

public Send ( byte buffer, int size, SocketFlags socketFlags ) : int
buffer byte
size int
socketFlags SocketFlags
리턴 int

Send() 공개 메소드

public Send ( byte buffer, int offset, int size, SocketFlags socketFlags ) : int
buffer byte
offset int
size int
socketFlags SocketFlags
리턴 int

Send() 공개 메소드

public Send ( byte buffer, int offset, int size, SocketFlags socketFlags, SocketError &errorCode ) : int
buffer byte
offset int
size int
socketFlags SocketFlags
errorCode SocketError
리턴 int

SendAsync() 공개 메소드

public SendAsync ( SocketAsyncEventArgs e ) : bool
e SocketAsyncEventArgs
리턴 bool

SendPacketsAsync() 공개 메소드

public SendPacketsAsync ( SocketAsyncEventArgs e ) : bool
e SocketAsyncEventArgs
리턴 bool

SendTo() 공개 메소드

public SendTo ( byte buffer, EndPoint remoteEP ) : int
buffer byte
remoteEP EndPoint
리턴 int

SendTo() 공개 메소드

public SendTo ( byte buffer, SocketFlags socketFlags, EndPoint remoteEP ) : int
buffer byte
socketFlags SocketFlags
remoteEP EndPoint
리턴 int

SendTo() 공개 메소드

public SendTo ( byte buffer, int size, SocketFlags socketFlags, EndPoint remoteEP ) : int
buffer byte
size int
socketFlags SocketFlags
remoteEP EndPoint
리턴 int

SendTo() 공개 메소드

public SendTo ( byte buffer, int offset, int size, SocketFlags socketFlags, EndPoint remoteEP ) : int
buffer byte
offset int
size int
socketFlags SocketFlags
remoteEP EndPoint
리턴 int

SendToAsync() 공개 메소드

public SendToAsync ( SocketAsyncEventArgs e ) : bool
e SocketAsyncEventArgs
리턴 bool

SetIPProtectionLevel() 공개 메소드

public SetIPProtectionLevel ( IPProtectionLevel level ) : void
level IPProtectionLevel
리턴 void

SetSocketOption() 공개 메소드

public SetSocketOption ( SocketOptionLevel optionLevel, SocketOptionName optionName, bool optionValue ) : void
optionLevel SocketOptionLevel
optionName SocketOptionName
optionValue bool
리턴 void

SetSocketOption() 공개 메소드

public SetSocketOption ( SocketOptionLevel optionLevel, SocketOptionName optionName, byte optionValue ) : void
optionLevel SocketOptionLevel
optionName SocketOptionName
optionValue byte
리턴 void

SetSocketOption() 공개 메소드

public SetSocketOption ( SocketOptionLevel optionLevel, SocketOptionName optionName, int optionValue ) : void
optionLevel SocketOptionLevel
optionName SocketOptionName
optionValue int
리턴 void

SetSocketOption() 공개 메소드

public SetSocketOption ( SocketOptionLevel optionLevel, SocketOptionName optionName, object optionValue ) : void
optionLevel SocketOptionLevel
optionName SocketOptionName
optionValue object
리턴 void

Shutdown() 공개 메소드

public Shutdown ( SocketShutdown how ) : void
how SocketShutdown
리턴 void

Socket() 공개 메소드

public Socket ( AddressFamily addressFamily, SocketType socketType, ProtocolType protocolType ) : System.Collections.Generic
addressFamily AddressFamily
socketType SocketType
protocolType ProtocolType
리턴 System.Collections.Generic

Socket() 공개 메소드

public Socket ( SocketInformation socketInformation ) : System.Collections.Generic
socketInformation SocketInformation
리턴 System.Collections.Generic

Socket() 공개 메소드

public Socket ( SocketType socketType, ProtocolType protocolType ) : System.Collections.Generic
socketType SocketType
protocolType ProtocolType
리턴 System.Collections.Generic