News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

WinSock Help

Started by Titan, July 04, 2005, 12:13:54 AM

Previous topic - Next topic

Titan

Yeah I'm using XP.  Here's what I do:
1.) Startup WinSockTest2.exe
2.) Startup WinSock2Client.exe
3.) Click "Start Server" on WinSockTest2.exe
4.) Click "Connect" on WinSock2Client.exe
- You should get a "Connect" dialog box if the connection succeeds.
5.) Click "Send" on WinSockTest2.exe
- I get an error dialog box with error number 1813.

I just made that list because I don't know if you're using two WinSockTest2.exe's instead of 1 of each?

Rifleman

Hi Titan,
I was starting the server before starting the client.  I guess your program does not like that.  One thing I noticed, though is that the server has no process running, the client does, but not the server.  Both apps are running but you are losing the server process, it is dying.

Paul

Titan

Not on my computer. :-\