Socket headers

BlitzMax Forums/BlitzMax Programming/Socket headers

Starkkz(Posted 2014) [#1]
Hello, I've been trying to port a socket module from BlitzMax to LuaJIT, but I had a problem running it because I found the function gethostbyname, which appears to have one argument on the windows sockets 2 function reference. However it appears to have three arguments for BlitzMax, so I wonder if they were rewritten in BlitzMax or not, also because it has the "_" suffix just as other system functions. If I'm wrong, may I know where is the file that contains the headers of the socket functions? And if I'm not, which is the file that contains the new code of every function?


Brucey(Posted 2014) [#2]
Functions with "_" suffix are wrapper functions. You can find them in places like pub.stdc