This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
Similar Threads
trying to connect to another ip adress
Dynamic IP address and socket programming.
A couple of RMI questions
getting the IP address when system is Online[urgent]
reuse address