Results 1 to 2 of 2
  1. #1
    AndrewM16921 is offline Senior Member
    Join Date
    Jan 2009
    Location
    CA, USA
    Posts
    264
    Rep Power
    6

    Default Client-Client Connection

    I have an application that allows users to connect to each other, and naturally it works fine on local machines, but when it comes to connecting to machines outside my network that won't work. So, what I'm thinking about doing is setting up a remote server that will contain the a mapping of unique ids to an ip:port address. Then when a client wishes to be a server it sends a request to that server asking for a unique id, then any clients requesting info from that id will get the right address from a request to that server. I'm not sure if this will work... not sure if I even explained the idea correctly. But any suggestions or advice with it?

    Also, 1337th thread in this section :D
    Last edited by AndrewM16921; 12-27-2012 at 11:05 PM.

  2. #2
    Join Date
    Dec 2012
    Posts
    6
    Rep Power
    0

    Default Re: Client-Client Connection

    easier way is to use a tunneling system like tunngle or hamachi for direct connections because for internet communication you need to portforward the socketports and with hamachi or tunngle you get a virtal ip to do this very easy

    so you can use your programm, and only type your new virtual ip and connect

Similar Threads

  1. Replies: 16
    Last Post: 08-31-2012, 01:06 AM
  2. Replies: 1
    Last Post: 04-28-2012, 02:11 PM
  3. client javadb connection over internet
    By OmerHalit in forum JDBC
    Replies: 15
    Last Post: 05-26-2010, 11:27 AM
  4. Java client - proxy connection
    By ragnonerodocet in forum Networking
    Replies: 0
    Last Post: 03-10-2010, 06:21 PM
  5. Connection reset error in FTP client
    By Waterbottle in forum Networking
    Replies: 0
    Last Post: 03-23-2009, 09:03 AM

Posting Permissions

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