#include <TcpSocket.h>
Inheritance diagram for TcpSocket:
Public Member Functions | |
TcpSocket (const string &host, int portVal) | |
TcpSocket (int portVal) | |
TcpSocket (int socket, const struct sockaddr_in &f) | |
virtual | ~TcpSocket () |
virtual void | connect () |
virtual void | listen () |
virtual Socket * | newSocket (int socket, const struct sockaddr_in &f) |
virtual void | dump (ostream &strm) const |
dumps information about this object | |
virtual bool | isConnected () |
virtual bool | isListening () |
virtual void | close () |
virtual void | send (const string &str, int start, int end) |
virtual int | receive (char *inBuff, int inSize) |
virtual int | getSocketDescriptor () |
Protected Attributes | |
int | _socket |
bool | _connected |
bool | _listening |
sockaddr_in | _from |
bool | _addr_set |
|
|
|
|
|
|
|
|
|
Reimplemented in UnixSocket. |
|
Implements Socket. |
|
dumps information about this object Displays the pointer value of this instance
Reimplemented from Socket. |
|
|
|
|
|
|
|
Implements Socket. |
|
Implements Socket. Here is the call graph for this function: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|