Results 1 to 3 of 3

Thread: P2P Chat

  1. #1

    Thread Starter
    Addicted Member njnets's Avatar
    Join Date
    Aug 2002
    Posts
    206

    P2P Chat

    Hi,

    Is there anyway for two computers to find eachother and connect using winsock if they don't know eachothers ip address? Or I MUST have a server to connect them?

  2. #2
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373
    for chat programs a central server is ideal...

  3. #3
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704
    If you send an email, usually it includes the sender's IP address in the message details.

    So if you had the email address of someone say Frank, and sent an email to him, you could devise a chat program that would check Frank's email box for a specific subject title, say, "mychatIpAddressContact", when the new mail notification event is fired. Your program would have to run in the background of course, much like MSN messenger...or Aol's

    You could copy that IP address, and initiate a request to connect to that IP using winsock.

    This would only work for IP addresses that are static.. unfortunately. And it would require a fair amount of knowledge dealing with Outlook, Winsock, and system events.
    Last edited by nemaroller; Aug 22nd, 2002 at 12:03 PM.

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