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,042 |
Nodes: | 15 (1 / 14) |
Uptime: | 108:36:27 |
Calls: | 236,124 |
Calls today: | 6 |
Files: | 60,372 |
D/L today: |
834 files (106M bytes) |
Messages: | 290,212 |
Posted today: | 4 |