BeginAcceptSocket Method

HttpServer.dll

Start accepting a socket

Namespace:  HttpServer
Assembly:  HttpServer (in HttpServer.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
protected IAsyncResult BeginAcceptSocket(
	AsyncCallback callback,
	Object state
)
Visual Basic (Declaration)
Protected Function BeginAcceptSocket ( _
	callback As AsyncCallback, _
	state As Object _
) As IAsyncResult
Visual C++
protected:
IAsyncResult^ BeginAcceptSocket(
	AsyncCallback^ callback, 
	Object^ state
)

Parameters

callback
Type: System..::.AsyncCallback
callback being invoked then a new client have been accepted
state
Type: System..::.Object
can be used to pass an object to the callback

Return Value

result identifying this async operation.

See Also