• Advertisement


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

winsock, win32 dialog closes after connected

This topic is 5278 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