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,029 |
Nodes: | 17 (0 / 17) |
Uptime: | 89:24:33 |
Calls: | 504,185 |
Calls today: | 7 |
Files: | 155,727 |
D/L today: |
76,213 files (17,673M bytes) |
Messages: | 446,400 |
Posted today: | 3 |