Interface ISocketSystem
Represents a network socket
Inherited Members
Namespace: Ride
Assembly: cs.temp.dll.dll
Syntax
public interface ISocketSystem : IRideSystem, IApiInject, IIdentity
Properties
Name | Description |
---|---|
isConnected | Returns true if the socket is connected |
Methods
Name | Description |
---|---|
Connect(String, Int32) | Connect the socket |
Disconnect() | Disconnect the socket |
Listen(String, Int32) | Begin listening for connections |
Receive(Byte[]) | Receive data from the other end of this socket |
Receive(Int32) | Receive data from the other end of this socket. NOTE! This allocates a byte array of size bufferSize every time that you call it. See other overloads for more optimization |
Send(Byte[]) | Send data to the other end of this socket |
Send(String) | Send data to the other end of this socket |