1. Not finding help here? Sign up for a free 30min tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Socket confirmation

  1. May 10, 2006 #1


    User Avatar
    Science Advisor

    I have a Java application that takes an action when another application starts and connects to it via a socket. The thing is that I only want the original application to take the action when the other application is on the local host. I check the IP address of the socket to confirm this, but could someone spoof the IP address of a Java socket? Or does Java automatically do some two-way checking? Right now it is set up so that the original program passes a random integer back and forth to confirm that the other program is where it says it is, but do I actually need to do this?
  2. jcsd
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Can you help with the solution or looking for help too?