C# Class Terraria.Net.Sockets.TcpSocket

Inheritance: ISocket
Show file Open project: EmuDevs/EDTerraria Class Usage Examples

Public Methods

Method Description
TcpSocket ( ) : System
TcpSocket ( TcpClient tcpClient ) : System

Private Methods

Method Description
ISocket ( ) : RemoteAddress
ISocket ( ) : bool
ISocket ( SocketConnectionAccepted callback ) : bool
ISocket ( ) : void
ISocket ( RemoteAddress address ) : void
ISocket ( byte data, int offset, int size, SocketReceiveCallback callback, object state ) : void
ISocket ( byte data, int offset, int size, SocketSendCallback callback, object state ) : void
ListenLoop ( object unused ) : void
ReadCallback ( IAsyncResult result ) : void
SendCallback ( IAsyncResult result ) : void

Method Details

TcpSocket() public method

public TcpSocket ( ) : System
return System

TcpSocket() public method

public TcpSocket ( TcpClient tcpClient ) : System
tcpClient System.Net.Sockets.TcpClient
return System