Main Page | Modules | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

Socket Class Reference
[Net]

A wrapper for Win32 stream socket. More...

#include <gmlsocket.h>

List of all members.

Public Member Functions

bool Create (int nSocketPort=0, const char *lpszSocketAddress=NULL)
bool Bind (int nSocketPort, const char *lpszSocketAddress=NULL)
void Close ()
bool Connect (const char *lpszHostAddress, int nHostPort)
bool Accept (gml::Socket &rConnectedSocket)
bool Listen (int nConnectionBacklog=5)
int Receive (void *lpBuf, int nBufLen, int nFlags=0)
int Send (const void *lpBuf, int nBufLen, int nFlags=0)
bool SendFile (const std::string &out_filename)
bool ReceiveFile (const std::string in_filename)

Static Public Member Functions

bool InitSockets ()
 Initilize Win32 sockets (MUST be called before use of sockets).


Detailed Description

A wrapper for Win32 stream socket.


The documentation for this class was generated from the following files:
Generated on Tue Jan 13 21:12:08 2004 for Graphics and Media Lab CSL by doxygen 1.3.4