I'm not under OS/2, but I believe I have sys/socket.h. The
thing is, certain types (INETADDR is an example IIRC) are
not defined there, and I can't find the definitions for them.
The EMX socket headers contain everything necessary for
writing a socket application using the BSD Unix 4.3 TCP/IP
interface (at least).
4OS/2 (0) | D:\os2progs\syspage >gcc sysphmsg.c
c:\tcpip\tmp\ccc00361: Undefined symbol _inet_addr referenced from
text segment
c:\tcpip\tmp\ccc00361: Undefined symbol _gethostbyname referenced
from text segment
c:\tcpip\tmp\ccc00361: Undefined symbol _strcasecmp referenced from
text segment
c:\tcpip\tmp\ccc00361: Undefined symbol _strcasecmp referenced from
text segment
c:\tcpip\tmp\ccc00361: Undefined symbol __swaps referenced from text segment
c:\tcpip\tmp\ccc00361: Undefined symbol _socket referenced from text segment
c:\tcpip\tmp\ccc00361: Undefined symbol _sendto referenced from text segment
[trim]4OS/2 (0) | D:\os2progs\syspage >gcc sysphmsg.c
c:\tcpip\tmp\ccc00361: Undefined symbol _inet_addr referenced from
text segment
c:\tcpip\tmp\ccc00361: Undefined symbol _sendto referenced from text
segment
Sysop: | digital man |
---|---|
Location: | Riverside County, California |
Users: | 1,033 |
Nodes: | 15 (0 / 15) |
Uptime: | 216:37:29 |
Calls: | 529 |
Calls today: | 23 |
Files: | 95,154 |
D/L today: |
4,452 files (643M bytes) |
Messages: | 298,896 |
Posted today: | 12 |