Re: WSAAsyncSelect stopped working
- From: "Arkady Frenkel" <arkadyf@xxxxxxxxxxxxxxxx>
- Date: Sat, 10 Jun 2006 09:05:29 +0200
Do you mean that just installing VS cause the error or you re-build your app
in it ?
Arkady
"anonymous" <anonymous@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:5D04A4ED-5749-4C25-8183-2EB7A0EB3DA3@xxxxxxxxxxxxxxxx
I'm looking for debugging help.
I have a TFTP-like utility used to download images to devices. Has been
working great. It was programmed in Visual C++ 6.0.
I was trying to see if VS 2005 express would do something I wanted, so I
installed that on the same machine and around that time, this utility
stopped
working. I'm not sure the two things are related, but maybe.
Basically, the utility sends out a UDP back and waits for an ACK using
WSAAsyncSelect to generate a message. I can see that packet coming into
the
PC correctly using Ethereal, so I know its getting delivered on the wire.
I
don't have a firewall installed or something along the lines of BlackICE
that
is blocking any ports.
It just seems like the event generation or winsock UDP receiving has been
broken. I also have a utility (pumpkin TFTP client) which is broken too
which
appears to use the winsock library.
WSAAsyncSelect returns without error, so I would assume I'd get an even on
the receipt of a packet, but I don't. I tried just polling with a select
command and also never receive a packet.
Other TCP based operations seem to work fine on this machine. I'm not sure
I
have anything else that I normally do which is UDP related to know if it
is
just this port or something more limited.
Any suggestions on how I can trace where the problem is occurring ?
Netstat -s -e shows the Datagrams sent increase with each send and the
Datagrams Received increase when the packets come in. No Ports and Receive
Errors do not increase.
Netstat -a shows the UDP port on the PC side open.
I also checked for the message being generated to the window with SPY and
didn't see it, so its not as if MFC just didn't run the handler for the
message.
.
- Prev by Date: Re: Request for UDP Help
- Next by Date: Event Id Network Adapter enabled or disabled
- Previous by thread: Request for UDP Help
- Next by thread: Re: WSAAsyncSelect stopped working
- Index(es):
Relevant Pages
|
Loading