aspose file tools*
The moose likes Sockets and Internet Protocols and the fly likes How can I set a socket over internet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "How can I set a socket over internet" Watch "How can I set a socket over internet" New topic
Author

How can I set a socket over internet

nan sh
Ranch Hand

Joined: Jan 05, 2001
Posts: 167
Said, I knew my friend's ISP address and I knew his computer name( or his IP Address), how can I use Socket API to build a channel?
The problem is, every time he will be assigned to different port. I cann't even ring him to ask his port number, as he has to use the telephone line to connect to his ISP.
 
Consider Paul's rocket mass heater.
 
subject: How can I set a socket over internet