Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#488 Can't Assign IP Address

open
Sean Bridges
5
2009-06-21
2009-04-24
Anonymous
No

Unfortunately I have two network adapters on my computer. It appears the game always picks the first network adapter. It doesn't allow me to choose the one I need. If I disable the first network adapter the game picks up the second.

The IP address field should be modifiable.

Discussion

  • Sean Bridges
    Sean Bridges
    2009-06-15

    Java doesn't see the correct ip address, it needs to be editable. For the lobby, we should default it to what the lobby server sees it as, maybe add a way to call out and see the ip address from google app engine or something.

     
  • Sean Bridges
    Sean Bridges
    2009-06-15

    • priority: 5 --> 9
    • assigned_to: nobody --> sgbridges
     
  • Sean Bridges
    Sean Bridges
    2009-06-21

    Turns out my previous comment was wrong. The server is using the address it sees when connecting to the client, and java not picking up the correct ip address is not an issue.

    The problem is that if a machine has multiple network adaptors, java picks up one of them based on the test of IPFinder. If both are valid, the the user needs to select one manually. I think this is a relatively rare problem.

    The solution is to specify the socket address when opening the ServerSocket, we can present a list of possible ip's using a dropdown populated by ipfinder. I need a volunteer with this problem though to test a fix.

     
  • Sean Bridges
    Sean Bridges
    2009-06-21

    • priority: 9 --> 5