Hi all,
I just went through Iczelons Winsock Tutorial. I wanted to set up a little program that listens for incoming connections and pops up a messagebox if a connection is accepted.
But every time i start the program it crashes. I have no idea why. Would be nice if you could have a look at it. And don't try to figure out why the window pops up. I have written a standard-program which contains the callback-function and the code to create a window. This can save time when trying something new.
Thanks
I just went through Iczelons Winsock Tutorial. I wanted to set up a little program that listens for incoming connections and pops up a messagebox if a connection is accepted.
But every time i start the program it crashes. I have no idea why. Would be nice if you could have a look at it. And don't try to figure out why the window pops up. I have written a standard-program which contains the callback-function and the code to create a window. This can save time when trying something new.
Thanks
Ok forget about it.
I just had to bind the socket before set it to listen-mode
I just had to bind the socket before set it to listen-mode