Re: Determine udp packet source detail with Winsock
From: Nicolas (johnyspeed_at_bicycle.com)
Date: 06/09/04
- Next message: Jezebel: "Re: beginTrans without commitTrans or rollbackTrans"
- Previous message: Pásztor, Zoltán: "Re: Plea for help with SP2 issues!"
- In reply to: Bob O`Bob: "Re: Determine udp packet source detail with Winsock"
- Next in thread: Bob O`Bob: "Re: Determine udp packet source detail with Winsock"
- Reply: Bob O`Bob: "Re: Determine udp packet source detail with Winsock"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 09 Jun 2004 02:29:07 -0700
Thanks Bob!
I haven't seen that feature documented anywhere yet! Is it?
I have played with it a bit, and it seems if you are not aware of it, it
could quite easily catch one out. Every time a packet is received, the
RemoteHostIP and RemotePort are updated to match data in the received
packet. An unexpected packet from an unexpected source could potentially
divert all all your future traffic there instead of your originally set
destination! One therefore needs to set the remotehost and remoteport
before every SendData call - is this logic correct?
Thanks,
Nicolas
http://www20.brinkster.com/intefacesa/
*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
- Next message: Jezebel: "Re: beginTrans without commitTrans or rollbackTrans"
- Previous message: Pásztor, Zoltán: "Re: Plea for help with SP2 issues!"
- In reply to: Bob O`Bob: "Re: Determine udp packet source detail with Winsock"
- Next in thread: Bob O`Bob: "Re: Determine udp packet source detail with Winsock"
- Reply: Bob O`Bob: "Re: Determine udp packet source detail with Winsock"
- Messages sorted by: [ date ] [ thread ]