Logo Search packages:      
Sourcecode: dbtcp version File versions  Download package

socket.h

/******************************************************************************
Funzioni per l'accesso alla rete tramite TCP/IP
******************************************************************************/

#ifndef MY_NET_LIB
#define MY_NET_LIB

/* --------------------------------------- Funzioni esportate dalla libreria */
ssize_t dbtcp_net_read ( int fd, char *buf, size_t count );
ssize_t dbtcp_net_write ( int fd, char *buf, size_t count );
int socket_set_options (int s);
int socket_status_rx (int sock);
int socket_status_tx (int sock);
int socket_open_client ( int *sock, char *host, int port, char *err, int len );
int socket_open_server (int *sock, unsigned short port, char *err, int len );
int socket_close ( int s );

#endif                          









Generated by  Doxygen 1.6.0   Back to index