blob: 6e4b8ddc35b04b2e2d28ebbfe97577a97f2ae192 (
plain)
1
2
3
4
5
6
7
8
|
#include <netinet/in.h>
int getsockport(int sd);
int bind_any(int minport);
int connect_to_host(char *hostname, int port);
int connect_to_peer(struct sockaddr_in *peer, int port);
struct qa_packet * recv_packet(int fd);
int send_packet(int fd, struct qa_packet *qp);
|