doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
idTCP Class Reference

#include <sys_public.h>

Public Member Functions

 idTCP ()
 
virtual ~idTCP ()
 
bool Init (const char *host, short port)
 
void Close ()
 
int Read (void *data, int size)
 
int Write (void *data, int size)
 

Private Attributes

netadr_t address
 
int fd
 

Detailed Description

Definition at line 438 of file sys_public.h.

Constructor & Destructor Documentation

idTCP::idTCP ( )

Definition at line 615 of file posix_net.cpp.

idTCP::~idTCP ( )
virtual

Definition at line 625 of file posix_net.cpp.

Member Function Documentation

void idTCP::Close ( void  )

Definition at line 686 of file posix_net.cpp.

bool idTCP::Init ( const char *  host,
short  port 
)

Definition at line 634 of file posix_net.cpp.

int idTCP::Read ( void data,
int  size 
)

Definition at line 698 of file posix_net.cpp.

int idTCP::Write ( void data,
int  size 
)

Definition at line 742 of file posix_net.cpp.

Member Data Documentation

netadr_t idTCP::address
private

Definition at line 455 of file sys_public.h.

int idTCP::fd
private

Definition at line 456 of file sys_public.h.


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