WSASend behaving oddly
From: Lee Gillie (ANTISPAMIFICATION_lee_at_odp.com)
Date: 04/26/04
- Next message: Phil Frisbie, Jr.: "Re: decoding TCP packets"
- Previous message: Geogy Samuel [MSFT]: "Re: P2P::System.Net.Peer2Peer error"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 26 Apr 2004 12:33:06 -0700
As part of a larger package, I have an FTP client, implmented in VS 6
C++. The software has been fairly stable and unchanged for the last 4
years. Within the last few months we have seen the following scenario
twice:
1. FTP Client initiates port 21 connection to server.
2. FTP Server responds with usual 220 "ready" response.
3. FTP Client sends "USER anonymous<cr>" with WSASend,
and overlapped I/O setup for EVENT handling completion.
4. WSASend return status is SOCKET_ERROR
5. WSAGetLastError is WSA_IO_PENDING
This is all anticipated.
But in 60 seconds (WSAWaitForMultipleEvents), we never get the event
signalled with FD_WRITE on the socket from WSAGetOverlappedResult.
This has been 100% iron clad in the past. A log at the server shows
the WSASend traffic did make it to the server in a timely fashion.
For both cases the machines are extremely fast, I think both are
single processors. In one case the pipe is huge. In the other case
the pipe is a dialup. For both machines, the problem symptoms are
consistent over many attempts. In both cases, some other machine at
the site (using similar pipe) works fine. I probably have about 200+
machines out there using this client software successfully, everything
from UPGRADED W95 through W2003. One failing machine is W2000 SP3, and
the other is XP (not sure on SP).
The fact that we have not seen this in 4 years, and that both cases at
hand have happened so near, in time, each other, is interesting.
Any ideas would be GREATLY appreciated.
Best regards - Lee Gillie, Spokane WA
- Next message: Phil Frisbie, Jr.: "Re: decoding TCP packets"
- Previous message: Geogy Samuel [MSFT]: "Re: P2P::System.Net.Peer2Peer error"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|