Quantcast
Channel: Forum - Recent Threads
Viewing all articles
Browse latest Browse all 5781

NetX BSD Sockets compatibility issue

$
0
0

I'm trying to port a library on the Synergy platform, which makes use of BSD Sockets. It uses the function fcntl() defined in nxd_bsd.h and (on Unix systems) in <fcntl.h>. This function takes two parameters, with an optional third one. However, in nxd_bsd.h the third parameter is required, which leads to incompatibility problems. Is there any chance to see this fixed?

Otherwise, what value am I supposed to pass when the parameter is not needed? The user manual for NetX Duo BSD sockets doesn't give any information about this, nor does it explain the function at all. Unix manuals mention that void is passed. I'm not sure what needs to be passed in the NetX implementation since it expects an int. Unix implementations use ... for variable amount of parameters.


Viewing all articles
Browse latest Browse all 5781

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>