Changes and Enhancements for z/OS Unix
The networking swiss army knife
Status: Beta
Brought to you by:
themnemonic
Hello,
in much things other systems seems to be more tolerantly, but z/OS Unix isn't. So the option -u for udp lets netcat end with a failure. The reason is, that the function socketopt() in the ' netcat_socket_new()' (regard network.c) ends with retcode<0 and errno ENOPROTOOPT, if the port is for other than a stream protocol. The attached file is the new code for network.cThe base is the code from ID 3385355. The charset of the file is utf-8.
Modifications for z/OS Unix