Sign in to follow this  

connect() and WSAAsyncSelect() trouble

Recommended Posts

Hello, I have a really strange problem with connect() and WSAAsyncSelect. Basically, when I call WSAAsyncSelect before connect(), then my client will connect to my server and somehow immediately get disconnected. However, when I first connect and then call WSAAsyncSelect() everything works perfectly and the client keeps connected and sends and receives data etc... Is it normal that you have to call connect() before you can use WSAAsyncSelect?

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this