hello,
this is a very good and useful forum i must say...
maybe someone can help me with my little problem?
:stupid:
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:
this is a very good and useful forum i must say...
maybe someone can help me with my little problem?
:stupid:
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:
move your winsock init (WSAStartup) to the beginning of WM_CREATE.
savage
savage
thx!!!:alright: