lib/network.cpp File Reference

(r16139/r16069)

#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"

Include dependency graph for network.cpp:


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 $"

Function Documentation

void boinc_close_socket ( int  sock  ) 

Here is the caller graph for this function:

int boinc_socket ( int &  fd  ) 

Here is the caller graph for this function:

int boinc_socket_asynch ( int  fd,
bool  asynch 
)

Here is the caller graph for this function:

int get_socket_error ( int  fd  ) 

Here is the caller graph for this function:

int resolve_hostname ( char *  hostname,
int &  ip_addr 
)

const char* socket_error_str (  ) 


Variable Documentation

const char* BOINC_RCSID_557bf0741f = "$Id: network.cpp 16069 2008-09-26 18:20:24Z davea $"


Generated on Mon Oct 6 10:41:17 2008 for BOINC by  doxygen 1.5.6