|
Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
| TcpSocket () | |
| TcpSocket (TcpClient tcpClient) | |
Properties | |
| int | MessagesInQueue [get] |
Private Member Functions | |
| void ISocket. | Close () |
| bool ISocket. | IsConnected () |
| void ISocket. | Connect (RemoteAddress address) |
| void | ReadCallback (IAsyncResult result) |
| void | SendCallback (IAsyncResult result) |
| void ISocket. | SendQueuedPackets () |
| void ISocket. | AsyncSend (byte[] data, int offset, int size, SocketSendCallback callback, object state) |
| void ISocket. | AsyncReceive (byte[] data, int offset, int size, SocketReceiveCallback callback, object state) |
| bool ISocket. | IsDataAvailable () |
| RemoteAddress ISocket. | GetRemoteAddress () |
| bool ISocket. | StartListening (SocketConnectionAccepted callback) |
| void ISocket. | StopListening () |
| void | ListenLoop () |
Private Attributes | |
| byte[] | _packetBuffer = new byte[1024] |
| List< object > | _callbackBuffer = new List<object>() |
| int | _messagesInQueue |
| TcpClient | _connection |
| TcpListener | _listener |
| SocketConnectionAccepted | _listenerCallback |
| RemoteAddress | _remoteAddress |
| bool | _isListening |
Definition at line 11 of file TcpSocket.cs.