Method | Description | |
---|---|---|
Dispose ( ) : void | ||
SocketAcceptor ( |
Initializes a new instance of the SocketAcceptor class.
|
|
Start ( ) : void |
Starts the process of accepting connections.
|
|
Stop ( ) : void |
Halts the process of accepting connections.
|
Method | Description | |
---|---|---|
BeginAccept ( ) : void | ||
DisposeSocketIfNotNull ( ) : void | ||
EndAcceptAsynchronous ( |
Handles an asynchronous socket accept operation. The only difference between this and EndAcceptSynchronous is that this calls BeginAccept if the socket was handled successfully. |
|
EndAcceptSynchronous ( |
Handles a synchronous socket accept operation.
|
|
GetAcceptSocket ( ) : Socket | ||
OnSocketAccepted ( Socket acceptedSocket ) : void | ||
OnSocketError ( SocketError error ) : void |
public SocketAcceptor ( |
||
endpoint | The |
|
return | System |