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?
Printable View
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?
for chat programs a central server is ideal...
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.