Torque2D Reference
Loading...
Searching...
No Matches
NetSocket Class Reference

#include <platformNet.h>

Public Member Functions

 NetSocket ()
void setHandle (S32 handleId)
S32 getHandle () const
U32 getHash () const
bool operator== (const NetSocket &other) const
bool operator!= (const NetSocket &other) const

Static Public Member Functions

static NetSocket fromHandle (S32 handleId)

Static Public Attributes

static NetSocket INVALID = NetSocket::fromHandle(-1)

Protected Attributes

S32 mHandle

Constructor & Destructor Documentation

◆ NetSocket()

NetSocket ( )
inline

Member Function Documentation

◆ fromHandle()

NetSocket fromHandle ( S32 handleId)
inlinestatic

◆ getHandle()

S32 getHandle ( ) const
inline

◆ getHash()

U32 getHash ( ) const
inline

◆ operator!=()

bool operator!= ( const NetSocket & other) const
inline

◆ operator==()

bool operator== ( const NetSocket & other) const
inline

◆ setHandle()

void setHandle ( S32 handleId)
inline

Member Data Documentation

◆ INVALID

NetSocket INVALID = NetSocket::fromHandle(-1)
static

◆ mHandle

S32 mHandle
protected

The documentation for this class was generated from the following files: