I have the following code which was taken directly from a book:
http://misc.ug-pro.com/code.txt
It opens the socket, but its not seeing any incoming connections. I'm not sure if the code is somehow wrong, or if perhaps it just doesn't like my compiler (bcb).
BTW if anyone tests this, I believe you have to change the __WIN32__ to just WIN32 if you are using a non borland compiler.
http://misc.ug-pro.com/code.txt
It opens the socket, but its not seeing any incoming connections. I'm not sure if the code is somehow wrong, or if perhaps it just doesn't like my compiler (bcb).
BTW if anyone tests this, I believe you have to change the __WIN32__ to just WIN32 if you are using a non borland compiler.