External Constants
BlitzMax Forums/BlitzMax Programming/External Constants
| ||
I've found out, that in pub.stdc the constant SO_RCVBUF is not correct declared.Print SO_RCVBUF Print GetSO_RCVBUF() #if _WIN32 #include <winsock.h> #else #include <sys/socket.h> #endif int GetSO_RCVBUF() { return SO_RCVBUF } (pseudo code, in fact I have testet with stdc.c :P) On Windows there are the same values on Linux(Kubuntu) not. But I thinking about extern constants like: Extern "OS" Const SO_RCVBUF : Short = "SO_RCVBUF" End Extern So there where no problems on different OSs. cu olli |