Socket.Listen Method

Enables the current socket to listen for incoming connection attempts.

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

Syntax

public void Listen (
         intbacklog
)

Parameters

  • backlog
    The maximum number of incoming connections that can be queued for acceptance.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.

See Also

Reference

Socket Class
Socket Members
System.Net.Sockets Namespace