Table of Contents

Class TelnetAppender.SocketHandler.SocketClient

Namespace
log4net.Appender
Assembly
log4net.dll

Class that represents a client connected to this handler

protected class TelnetAppender.SocketHandler.SocketClient : IDisposable
Inheritance
TelnetAppender.SocketHandler.SocketClient
Implements
Inherited Members

Remarks

Class that represents a client connected to this handler

Constructors

SocketClient(Socket)

Create this TelnetAppender.SocketHandler.SocketClient for the specified Socket

public SocketClient(Socket socket)

Parameters

socket Socket

the client's socket

Remarks

Opens a stream writer on the socket.

Methods

Dispose()

Cleanup the clients connection

public void Dispose()

Remarks

Close the socket connection.

Send(string)

Write a string to the client

public void Send(string message)

Parameters

message string

string to send

Remarks

Write a string to the client