![]() |
doom3-gpl
Doom 3 GPL source release
|
#include <sys_public.h>
Public Member Functions | |
| idPort () | |
| virtual | ~idPort () |
| bool | InitForPort (int portNumber) |
| int | GetPort (void) const |
| netadr_t | GetAdr (void) const |
| void | Close () |
| bool | GetPacket (netadr_t &from, void *data, int &size, int maxSize) |
| bool | GetPacketBlocking (netadr_t &from, void *data, int &size, int maxSize, int timeout) |
| void | SendPacket (const netadr_t to, const void *data, int size) |
Public Attributes | |
| int | packetsRead |
| int | bytesRead |
| int | packetsWritten |
| int | bytesWritten |
Private Attributes | |
| netadr_t | bound_to |
| int | netSocket |
Definition at line 412 of file sys_public.h.
| idPort::idPort | ( | ) |
Definition at line 455 of file posix_net.cpp.
|
virtual |
Definition at line 465 of file posix_net.cpp.
Definition at line 474 of file posix_net.cpp.
Definition at line 420 of file sys_public.h.
Definition at line 487 of file posix_net.cpp.
| bool idPort::GetPacketBlocking | ( | netadr_t & | from, |
| void * | data, | ||
| int & | size, | ||
| int | maxSize, | ||
| int | timeout | ||
| ) |
Definition at line 520 of file posix_net.cpp.
Definition at line 419 of file sys_public.h.
Definition at line 598 of file posix_net.cpp.
Definition at line 572 of file posix_net.cpp.
|
private |
Definition at line 434 of file sys_public.h.
| int idPort::bytesRead |
Definition at line 428 of file sys_public.h.
| int idPort::bytesWritten |
Definition at line 431 of file sys_public.h.
|
private |
Definition at line 435 of file sys_public.h.
| int idPort::packetsRead |
Definition at line 427 of file sys_public.h.
| int idPort::packetsWritten |
Definition at line 430 of file sys_public.h.
1.8.6.