]> the.earth.li Git - sersniff.git/blob - tcp.h
Use socklen_t rather than int for the length of the socket address.
[sersniff.git] / tcp.h
1 /*
2         tcp.h - Routines to give us handles to tcp ports.
3         Copyright 1999 Project Purple. Written by Jonathan McDowell
4
5         27/11/1999 - Started writing.
6 */
7
8 #ifndef __TCP_H_
9 #define __TCP_H_
10
11 int opensock(char *host, int port);
12 int listensock(int port);
13
14 #endif /* __TCP_H_ */