|
Hi,
I was wondering if anyone can make a
suggestion on where I might be going wrong?
I have designed a client/server application which
has been working great. The server is using IOCP , and clients just using
Windows messages, as there are not large mounts of data being sent from
the clients.
All machines I have used it on runs on Windows XP
professional, with latest updates.
Occasionally I run both the server and client
application on the same machine, with the ip address of the client being set at
127.0.0.1. And it works fine.
There are two machine which there are problems with
when trying to operate both the client and server on the same machine. When some
packets are sent, there seams to be a large delay, or doesnt get
sent at all. I have checked that the data has been sent, which it has, and the
server receives it (sometimes), and returns a reply, and occasionally the client
doesnt recieve it.
If I just have the server on one of the machines
with the problem, and run the client on another machine, it is fine (and same
with client on the machine, and server on another).
One thing I noticed, is as soon as the
following command is executed:
passivesocket("tcp",24000,SOMAXCONN);
I get the following:
Loaded 'C:\WINDOWS\system32\imslsp.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\shlwapi.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\libeay32_0.9.6l.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\wsock32.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\ole32.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\version.dll', no matching symbolic information found. First-chance exception in ControlCentre.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception. First-chance exception in ControlCentre.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception. First-chance exception in ControlCentre.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception. First-chance exception in ControlCentre.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception. First-chance exception in ControlCentre.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception. First-chance exception in ControlCentre.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception. First-chance exception in ControlCentre.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception. First-chance exception in ControlCentre.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception. First-chance exception in ControlCentre.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception. First-chance exception in ControlCentre.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception. First-chance exception in ControlCentre.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception. First-chance exception in ControlCentre.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception. First-chance exception in ControlCentre.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception. First-chance exception in ControlCentre.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception. First-chance exception in ControlCentre.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception. First-chance exception in ControlCentre.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception. First-chance exception in ControlCentre.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception. First-chance exception in ControlCentre.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception. First-chance exception in ControlCentre.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception. First-chance exception in ControlCentre.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception. First-chance exception in ControlCentre.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception. First-chance exception in ControlCentre.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception. First-chance exception in ControlCentre.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception. Loaded 'C:\WINDOWS\system32\mswsock.dll', no matching symbolic information found. First-chance exception in ControlCentre.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception. Loaded 'C:\WINDOWS\system32\hnetcfg.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\lockbox.dll', no matching symbolic information found. First-chance exception in ControlCentre.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception. First-chance exception in ControlCentre.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception. First-chance exception in ControlCentre.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception. First-chance exception in ControlCentre.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception. First-chance exception in ControlCentre.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception. First-chance exception in ControlCentre.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception. Loaded 'C:\WINDOWS\system32\wshtcpip.dll', no matching symbolic information found. First-chance exception in ControlCentre.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception. then the program carries on.
Anyone any ideas?
Regards
Neil
|
_______________________________________________ msvc mailing list [email protected] See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for subscription changes, and list archive.
