Menu

#21 Client hangs if no answer comes from the server

open
nobody
Network (6)
5
2008-11-04
2008-11-04
Anonymous
No

I'm using the stun client to monitor public IP changes in a modem-router. I found that if no answer arrives from the stun server, the client "hangs" inside getMessage() in udp.cxx. The reason is this function calls recvfrom() to wait INDEFINITELY for the packet from the server.
I believe a "reasonable" timeout should be used in this function. What do you think? Do you want me to introduce the change? Is there a CVS for this project?
I wait for your comments. Bye,

Daniel

Discussion


Log in to post a comment.

MongoDB Logo MongoDB