How does Linux connect to the internet?
Is the socket system the same as in \/\/I/\/D0\/\/S?
Like, if I coded something on Windoze that I wanted to run on Linux, would I have to remove wsock.h? Just a tad confusing to me, thanks for any help :D |
as far as i know the windows sockets implemenation, is heavily based on the original bsd implementation which is the one linux uses, the socket(), connect(), accept() calls are the same i think, but the functions are defined in different headers. you can check which header by checking the man page of any particular function.
|
It is very similar, but in Unix filehandles for files and sockets are the same, for Windoze they are not.
I recommend using a frontend mapper like SDL_net. Martin |
All times are GMT -5. The time now is 09:08 AM. |