Results 1 to 3 of 3

Thread: Extracting IP from UDP

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Mar 2003
    Location
    Australia
    Posts
    29

    Question Extracting IP from UDP

    Hi all,

    Just a quick question as to how i would go about extracting the IP address of the sender of a UDP packet. I have various IP's sending UDP messages and i need to know which message comes from which IP address.

    Thanks

    Chris

  2. #2

    Thread Starter
    Junior Member
    Join Date
    Mar 2003
    Location
    Australia
    Posts
    29

    Help!!

    Does anybody no how i can extract the IP from the UDP packet or what????

  3. #3
    Fanatic Member
    Join Date
    Feb 2003
    Location
    Los Angeles, CA
    Posts
    681
    relax... theres not too many people logged in at this time...

    did you tried to check the .RemoteHostIP property of your winsock control as soon as you receive the datagram and see if its set to something? (i assume youre using a winsock control, cuz you forgot to mention that.)
    there are 2 reasons why i leave my work unfinished:
    (1) i'm getting old.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width