#include "config.h"#include <unistd.h>#include <cstdio>#include <sys/socket.h>#include <netinet/in.h>#include <netinet/tcp.h>#include <arpa/inet.h>#include <netdb.h>#include <fcntl.h>#include <errno.h>#include "error_numbers.h"#include "network.h"

Functions | |
| const char * | socket_error_str () |
| int | resolve_hostname (char *hostname, int &ip_addr) |
| int | boinc_socket (int &fd) |
| int | boinc_socket_asynch (int fd, bool asynch) |
| void | boinc_close_socket (int sock) |
| int | get_socket_error (int fd) |
Variables | |
| const char * | BOINC_RCSID_557bf0741f = "$Id: network.cpp 16069 2008-09-26 18:20:24Z davea $" |
| void boinc_close_socket | ( | int | sock | ) |

| int boinc_socket | ( | int & | fd | ) |

| int boinc_socket_asynch | ( | int | fd, | |
| bool | asynch | |||
| ) |

| int get_socket_error | ( | int | fd | ) |

| int resolve_hostname | ( | char * | hostname, | |
| int & | ip_addr | |||
| ) |
| const char* socket_error_str | ( | ) |
| const char* BOINC_RCSID_557bf0741f = "$Id: network.cpp 16069 2008-09-26 18:20:24Z davea $" |
1.5.6