3 * Authors: Charles Bailey bailey@genetics.upenn.edu
4 * David Denholm denholm@conmat.phys.soton.ac.uk
5 * Last Revised: 05-Oct-1994
7 * This file should include any other header files and procide any
8 * declarations, typedefs, and prototypes needed by perl for TCP/IP
11 * This version is set up for perl5 with socketshr 0.9A TCP/IP support.
14 #include <socketshr.h>
16 /* we may not have socket.h etc, so lets just do these here - div */
17 /* built up from a variety of sources */
18 /* no harm doing this for all .c files - needed only by pp_sys.c */
27 #define h_addr h_addr_list[0]
31 unsigned short sin_port;
32 unsigned long sin_addr;
44 char *s_name; /* official service name */
45 char **s_aliases; /* alias list */
46 int s_port; /* port # */
47 char *s_proto; /* protocol to use */
51 char *p_name; /* official protocol name */
52 char **p_aliases; /* alias list */
53 int p_proto; /* protocol # */