TelnetAppender SocketHandler Constructor | Apache log4net™ SDK Documentation

Opens a new server port on

Namespace: log4net.Appender
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

C#
VB
C++
F#
Copy

    public SocketHandler(
    	int port
    )

    Public Sub New (
    	port As Integer
    )

    public:
    SocketHandler(
    	int port
    )

    new :
            port : int -> SocketHandler

#### Parameters

port
  Type: System
  Int32
  the local port to listen on for connections

Remarks

Creates a socket handler on the specified local server port.

See Also

#### Reference

TelnetAppender
SocketHandler Class
log4net.Appender Namespace