Starts an asynchronously request to listen for an incoming connection using the specified control socket as a base.
Assembly: Rebex.Networking (in Rebex.Networking.dll)
Public Function BeginListen ( _ controlSocket As ISocket, _ callback As , _ state As _ ) As
public BeginListen( ISocket controlSocket, callback, state )
- Type: Rebex.Net..::..ISocket
The control socket to use as a base.
An object containing state information for this request.
Return ValueAn that references the asynchronous request.
ImplementsISocketExt..::..BeginListen(ISocket, AsyncCallback, Object)
This method differs from:
- A control connection socket needs to be specified. This might be needed by a proxy server socket.
- Only a single incoming connection is accepted.
Note: When connected through a HTTP proxy server, this method will fail.