Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

invictus

winsock, win32 dialog closes after connected

This topic is 5552 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi I have recently started winsock coding, but are experiencing som difficulties. I have pasted a url to the code below. The problem is in the WM_CREATE message where I connect to a server (the server in the code is to an efnet irc server). When the application become connected to the server (and the messagebox pops up) the app closes. when commenting out the connect() line in the code this problem does not occure. Neither does it happen if I try to connect to a address that does not excist. Any feedback on why it is like this? I am a real newbie when it comes to winsock, but know a bit about win32 programming. http://www.pastebin.org/index.php?page=show&id=1528&key=u06zxpbvon

Share this post


Link to post
Share on other sites
Advertisement

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!