Class TelnetAppender.SocketHandler.SocketClient
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
socketSocketthe 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
messagestringstring to send
Remarks
Write a string to the client