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
You may want to take a look to cpp-sockets, a C++ wrapper for the sockets system calls. It works with many operating systems (Win32, POSIX, Linux, *BSD). I don't think it will work with z/OS but you can take a look at the include files it uses and you'll have many examples of tested code that works well on other OSs.