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,166 |
| Nodes: | 17 (0 / 17) |
| Uptime: | 417:26:18 |
| Calls: | 509,423 |
| Calls today: | 9 |
| Files: | 262,274 |
| D/L today: |
5,546 files (1,526M bytes) |
| Messages: | 469,854 |
| Posted today: | 4 |