this is a very good and useful forum i must say...
maybe someone can help me with my little problem?

i went through iczelion's tuts and some other stuff and made a dumb program which should create a non-blocking socket.
BTW, somewhere i read that non-blocking mode is only needed if you want to allow more than 1 connection, is that right?

anyway, in my first try, without that nice window (only messageboxes displaying the status) the socket creation was always successful, only the WSAAsyncSelect-thing gave an error.

now, the socket isn't even created.

should i rebuild the structure of my prog or is it something i just didn't see?
you'd help me a lot, i'm trying to get that socket open and ready for some days now...:confused:
Posted on 2001-12-03 11:08:46 by sys64738
move your winsock init (WSAStartup) to the beginning of WM_CREATE.

Posted on 2001-12-03 11:40:20 by savage
Posted on 2001-12-03 11:46:12 by sys64738