StreamPeerSocket
Abstract base class for interacting with socket streams.
Abstract base class for interacting with socket streams.
StreamPeerSocket is an abstract base class that defines common behavior for socket-based streams.
Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.
Methods3
DisconnectFromHostvoid
public void DisconnectFromHost();Disconnects from host.
GetStatusStreamPeerSocket.Status
public StreamPeerSocket.Status GetStatus();Returns the status of the connection.
Returns
StreamPeerSocket.StatusPollError
public Error Poll();Polls the socket, updating its state. See StreamPeerSocket.GetStatus.
Returns
ErrorStreamPeerSocket.Status
| Value | Description |
|---|---|
Connected = 2 | A status representing a |
Connecting = 1 | A status representing a |
Error = 3 | A status representing a |
None = 0 | The initial status of the |
Reckfell Engine documentationBack to top ↑