I\'m having issues getting the C sockets API to work properly in C++ on z/OS.
Although I am including sys/socket.h
, I still get compile time errors telling m
I've had no trouble using the BSD sockets API in C++, in GNU/Linux. Here's the sample program I used:
#include
int
main()
{
return AF_INET;
}
So my take on this is that z/OS is probably the complicating factor here, however, because I've never used z/OS before, much less programmed in it, I can't say this definitively. :-P