Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

CommunicatingSocket Class Reference

Socket which is able to connect, send, and receive. More...

#include <PracticalSocket.h>

Inheritance diagram for CommunicatingSocket:

Inheritance graph
[legend]
Collaboration diagram for CommunicatingSocket:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void connect (const string &foreignAddress, unsigned short foreignPort) throw (SocketException)
 Establish a socket connection with the given foreign address and port.
void send (const void *buffer, int bufferLen) throw (SocketException)
 Write the given buffer to this socket.
int recv (void *buffer, int bufferLen) throw (SocketException)
 Read into the given buffer up to bufferLen bytes data from this socket.
string getForeignAddress () throw (SocketException)
 Get the foreign address.
unsigned short getForeignPort () throw (SocketException)
 Get the foreign port.

Protected Member Functions

 CommunicatingSocket (int type, int protocol) throw (SocketException)
 CommunicatingSocket (int newConnSD)

Detailed Description

Socket which is able to connect, send, and receive.

Definition at line 137 of file PracticalSocket.h.


The documentation for this class was generated from the following files:
Generated on Fri Mar 19 10:32:00 2010 for ImpalaSrc by  doxygen 1.5.1