tModLoader  0.12 Alpha
A mod to make and play Terraria mods
Terraria.Net.Sockets.ISocket Interface Reference

Inherited by Terraria.Net.Sockets.SocialSocket, and Terraria.Net.Sockets.TcpSocket.

Public Member Functions

void AsyncReceive (byte[] data, int offset, int size, SocketReceiveCallback callback, object state=null)
 
void AsyncSend (byte[] data, int offset, int size, SocketSendCallback callback, object state=null)
 
void Close ()
 
void Connect (RemoteAddress address)
 
RemoteAddress GetRemoteAddress ()
 
bool IsConnected ()
 
bool IsDataAvailable ()
 
void SendQueuedPackets ()
 
bool StartListening (SocketConnectionAccepted callback)
 
void StopListening ()