BytesRoad.Net.Sockets.SocketEx.EndAccept C# (CSharp) Method

EndAccept() public method

Completes the asynchronous operation to accept incoming connection.
/// The object was disposed. /// /// An error occurred when attempting to access /// the socket which is used to complete the requested operation. ///
public EndAccept ( IAsyncResult asyncResult ) : SocketEx
asyncResult IAsyncResult /// An /// IAsyncResult /// that stores state information for /// this asynchronous operation. ///
return SocketEx
        public SocketEx EndAccept(IAsyncResult asyncResult)
        {
            return (SocketEx)EndTimeoutOp(new Accept_Op(_baseSocket), asyncResult);
        }
        #endregion