Share via


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 (
         int backlog
)

Parameters

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

Version Information

Available in .NET Micro Framework version 2.0, 2.5

See Also

Reference

Socket Class
Socket Members
System.Net.Sockets Namespace