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,028 |
Nodes: | 17 (2 / 15) |
Uptime: | 183:25:02 |
Calls: | 503,707 |
Calls today: | 10 |
Files: | 158,907 |
D/L today: |
16,936 files (4,898M bytes) |
Messages: | 444,394 |
Posted today: | 3 |