Abstract base class for interacting with socket streams.
StreamPeerSocket is an abstract base class that defines common behavior for socket-based streams.
STATUS_NONE = 0The initial status of the StreamPeerSocket. This is also the status after disconnecting.
STATUS_CONNECTING = 1A status representing a StreamPeerSocket that is connecting to a host.
STATUS_CONNECTED = 2A status representing a StreamPeerSocket that is connected to a host.
STATUS_ERROR = 3A status representing a StreamPeerSocket in error state.