Results 1 to 2 of 2

Thread: Searching for a connection

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Feb 2001
    Location
    Durham, England
    Posts
    17
    Does anyone have any code let will allow a program to search the internet for another computer using the same program and connect to it.

    I have a chat app but you have to enter in the Ip manually so we have to email the ip to each other first.

    Or is there another way we can get around this.

    Surely I can get the app to search through all ip addresses until it finds a connection

    xirox

  2. #2
    Addicted Member
    Join Date
    Nov 2000
    Location
    UK
    Posts
    164
    One way you could do this is to decide on a port number and ping the different IP addresses to see if they are using your application. However there are a hell of a lot of IP addresses so this is probably not viable!

    I think programs like ICQ operate using a central server. For example when you load up your application it contacts the server and sends your Ip address. Other instances of your application can then contact the server to determine other users IP address.

    Alex
    ASP, SQL, VB6, Java Script and dubious guitar playing skills.

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