#include <gnet.h>
Inheritance diagram for gSocket:
Public Types | |
enum | eSocketKind { e_None, e_TCP = 1, e_UDP = 2, e_other } |
Public Member Functions | |
gSocket (int socketHandle, eSocketKind socketKind) | |
virtual | ~gSocket () |
virtual bool | IsOk () |
virtual bool | IsOpened () |
virtual bool | IsConnected () |
virtual int | Handle () |
virtual bool | Open (t_uchar *uName) |
virtual bool | Close () |
bool | SetConnection (gIpAddr &ipAddr) |
bool | SetConnection (gHostAddr &hostAddr) |
Protected Attributes | |
eSocketKind | sockKind |
Static Protected Attributes | |
static int | sockCount = 0 |
|
|
|
|
|
|
|
Definition at line 445 of file gnet.cpp. Referenced by gTcpConnect::Close(), and gTcpConnect::~gTcpConnect(). |
|
Definition at line 389 of file gnet.cpp. Referenced by gTcpConnect::Handle(). |
|
Definition at line 395 of file gnet.cpp. Referenced by IsOk(). |
|
Reimplemented from gStorage. Definition at line 379 of file gnet.cpp. Referenced by SetConnection(). |
|
Definition at line 384 of file gnet.cpp. Referenced by gTcpConnect::Connect(), Handle(), gTcpConnect::IsOk(), IsOk(), and gTcpConnect::Show(). |
|
Definition at line 400 of file gnet.cpp. Referenced by gTcpConnect::Connect(). |
|
|
|
Definition at line 453 of file gnet.cpp. Referenced by SetConnection(). |
|
|
|
Definition at line 188 of file gnet.h. Referenced by Open(). |