Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How can I set a socket over internet

 
nan sh
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic