I'm currently trying to write a simple winsock-application.
I read the tutorial, but I have a problem:
The Connect-function always returns immediately an error, but I'm not using non-blocking sockets (because i left the sockets' options on its creation default)

Has anyone of you a simple and short Winsock example?

Thank you very much!
Posted on 2001-11-28 15:52:19 by nyook
Maybe you forgot to initialize winsock with WSAStartup?

There's a bunch of examples in this thread:

Posted on 2001-11-28 15:56:31 by Thomas
no, i didnt forget.
but thanks for the very fast answer =)
Posted on 2001-11-28 16:00:23 by nyook