#include <PracticalSocket.h>
Inheritance diagram for CommunicatingSocket:
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) |
Definition at line 137 of file PracticalSocket.h.