wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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.
 
It is sorta covered in the JavaRanch Style Guide.
 
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