TcpListener Methods

TcpListener Methods

 

Namespace:   System.Net.Sockets
Assembly:  System (in System.dll)

NameDescription
System_CAPS_pubmethodAcceptSocket()

Accepts a pending connection request.

System_CAPS_pubmethodAcceptSocketAsync()

Accepts a pending connection request as an asynchronous operation.

System_CAPS_pubmethodAcceptTcpClient()

Accepts a pending connection request.

System_CAPS_pubmethodAcceptTcpClientAsync()

Accepts a pending connection request as an asynchronous operation.

System_CAPS_pubmethodAllowNatTraversal(Boolean)

Enables or disables Network Address Translation (NAT) traversal on a TcpListener instance.

System_CAPS_pubmethodBeginAcceptSocket(AsyncCallback, Object)

Begins an asynchronous operation to accept an incoming connection attempt.

System_CAPS_pubmethodBeginAcceptTcpClient(AsyncCallback, Object)

Begins an asynchronous operation to accept an incoming connection attempt.

System_CAPS_pubmethodSystem_CAPS_staticCreate(Int32)

Creates a new TcpListener instance to listen on the specified port.

System_CAPS_pubmethodEndAcceptSocket(IAsyncResult)

Asynchronously accepts an incoming connection attempt and creates a new Socket to handle remote host communication.

System_CAPS_pubmethodEndAcceptTcpClient(IAsyncResult)

Asynchronously accepts an incoming connection attempt and creates a new TcpClient to handle remote host communication.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodPending()

Determines if there are pending connection requests.

System_CAPS_pubmethodStart()

Starts listening for incoming connection requests.

System_CAPS_pubmethodStart(Int32)

Starts listening for incoming connection requests with a maximum number of pending connection.

System_CAPS_pubmethodStop()

Closes the listener.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

Return to top
Show:
© 2016 Microsoft