Advertisement

winsock, win32 dialog closes after connected

Started by August 10, 2003 06:48 PM
-1 comments, last by invictus 21 years, 6 months ago
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

This topic is closed to new replies.

Advertisement