ProxySocket.BeginAccept Method
Namespace: Rebex.Net
Assembly: Rebex.Networking.dll (version 7.0.9119)
BeginAccept(AsyncCallback, Object)
Begins an asynchronous request to accept an incoming connection.
Declaration
public IAsyncResult BeginAccept(AsyncCallback callback, object state)
Parameters
Type | Name | Description |
---|---|---|
AsyncCallback | callback | The AsyncCallback delegate. |
Object | state | An object containing state information for this request. |
Returns
Type | Description |
---|---|
IAsyncResult | An IAsyncResult that references the asynchronous request. |
Remarks
A call to Accept is only allowed after a call to Listen(ISocket) methods.