Asynchronously accepts an incoming connection attempt and creates a new Socket to handle remote host communication.
Assembly: System (in System.dll)
The underlying Socket has been closed.
The asyncResult parameter is a null reference (Nothing in Visual Basic).
The asyncResult parameter was not created by a call to the BeginAcceptSocket method.
The method was previously called.
An error occurred while attempting to access the Socket. See the Remarks section for more information.
This method blocks until the operation is complete. To perform this operation synchronously, use the AcceptSocket method.
If you receive a SocketException, use the SocketException.ErrorCode property to obtain the specific error code and refer to the Windows Sockets version 2 API error code documentation in the MSDN library at http://msdn.microsoft.com/library/ for a detailed description of the error.
This member outputs trace information when you enable network tracing in your application. For more information, see Network Tracing in the .NET Framework.