#include <libnet.h>
Graphe d'héritage de la classe Socket
Membres publics | |
Socket (int port, int type=SOCK_STREAM, int protocole=0) | |
Socket (int sd, struct sockaddr_in adr) | |
Socket (const Socket &s) | |
Socket () | |
string | read (int nb) |
string | readall () |
string | readln () |
int | write (string str) |
int | getSocket () |
int | getPort () |
string | getAdresse () |
int | setOption (int optname, void *optval, int optlen) |
int | setOption (int optname, int option=1) |
int | getProto (string name) |
int | close () |
Attributs Protégés | |
int | mSocket |
sockaddr_in | mAdresse |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|