home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Power 1999 February
/
MACPOWER-1999-02.ISO.7z
/
MACPOWER-1999-02.ISO
/
9902⁄AMUG
/
UTILITY
/
mac06-0.95.sit
/
mac06-0.95
/
usr
/
include
/
netinet
/
netinet_in.h
< prev
next >
Wrap
Text File
|
1998-02-14
|
493b
|
23 lines
/* mac06ゥ1997 by HNS/DSITRI hns@computer.org
** netinet/in.h
*/
#pragma once
struct in_addr
{
unsigned long s_addr; /* the address; may be extended for IPv6 */
};
struct sockaddr_in
{
unsigned short sin_family; /* should be AF_INET! */
short sin_port; /* the port */
struct in_addr sin_addr;
char fill[16-sizeof(unsigned short)-sizeof(short)-sizeof(unsigned long)];
};
#define INADDR_ANY 0 /* any host */
#define INADDR_LOCAL ((127<<24)+1) /* the local host */
/* EOF */