altEngine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Public Attributes | List of all members
Net Class Reference

#include <net.h>

Public Member Functions

int connect (char *server, int port)
 
int bind (char *address, int port)
 
int send (char *buffer, int size)
 
int sendto (char *buff, int size, char *to)
 
int recv (char *buff, int size)
 
int recv (char *buffer, int size, int delay)
 
int recvfrom (char *buff, int size, char *from, int length)
 
int strtoaddr (char *str, struct sockaddr_in &addr)
 
void closesock ()
 

Public Attributes

struct sockaddr_in servaddr
 
int sockfd
 

Member Function Documentation

int Net::bind ( char *  address,
int  port 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void Net::closesock ( )

Here is the caller graph for this function:

int Net::connect ( char *  server,
int  port 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int Net::recv ( char *  buff,
int  size 
)

Here is the caller graph for this function:

int Net::recv ( char *  buffer,
int  size,
int  delay 
)
int Net::recvfrom ( char *  buff,
int  size,
char *  from,
int  length 
)

Here is the caller graph for this function:

int Net::send ( char *  buffer,
int  size 
)

Here is the caller graph for this function:

int Net::sendto ( char *  buff,
int  size,
char *  to 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int Net::strtoaddr ( char *  str,
struct sockaddr_in &  addr 
)

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

struct sockaddr_in Net::servaddr
int Net::sockfd

The documentation for this class was generated from the following files: