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
See the Using z/OS UNIX System Services sockets section in the z/OS XL C/C++ Programming Guide. Make sure you're including the necessary header files and using the appropriate #defines.
The link to the doc has changed over the years, but you should be able to get to it easily enough by finding the current location of the Support & Downloads section on ibm.com and searching the documentation by title.