Overview   Project   Class   Tree   Deprecated   Index 
0 A.D.
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

network
Enum ESocketState

   in SocketBase.h

An enumeration of socket states

See Also:
CSocketBase::GetState()

Field Summary
SS_CLOSED_LOCALLY
          The connection has been closed on this end, but the other end might have sent data that we haven't received yet.
SS_CONNECT_STARTED
          A connect attempt has started on a non-blocking socket.
SS_CONNECTED
          The socket is connected.
SS_UNCONNECTED = 0
          The socket is unconnected.
 

Field Detail

SS_CLOSED_LOCALLY

public SS_CLOSED_LOCALLY
The connection has been closed on this end, but the other end might have sent data that we haven't received yet. The error state will be set to PS_OK.

SS_CONNECT_STARTED

public SS_CONNECT_STARTED
A connect attempt has started on a non-blocking socket. The error state will be CONNECTION_BROKEN.
See Also:
CSocketBase::OnWrite()

SS_CONNECTED

public SS_CONNECTED
The socket is connected. The error state will be set to PS_OK.

SS_UNCONNECTED

public SS_UNCONNECTED = 0
The socket is unconnected. Use GetError() to see if it is due to a failure, a clean close, or it was never connected.
See Also:
CSocketBase::GetError()

 Overview   Project   Class   Tree   Deprecated   Index 
0 A.D.
Generated on September 04, 2007 at 18:13
CppDoc v2.4.0
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD