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

socket.h

#ifndef __SOCKET_H__
#define __SOCKET_H__

#include <netdb.h>

u_long resolve_host (u_char * host);
int make_socket (u_char * server, uint16_t port);
int connectJabber (char *server, int jabberport);
int waitfordata (int fd, int timeout);
int senddata (char *buffer);
char *receivedata (void);
int check_io (int fd1, int fd2);

#endif

Generated by  Doxygen 1.6.0   Back to index