Click here to Skip to main content
12,455,517 members (61,687 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C# LAN Web Sockets AsyncCTP Async , +
Can not connect to the computer from the Internet by using socket, when the computer has Internet connected not directly through a lan card. What to do? If I have a computer podklyuchayus Katori Internet connection directly everything is fine and turns with adaprami of TP-LINK does not work.
Posted 17-Jan-13 1:00am
Comments
   
You are mixing English with words in some other language which I happen to understand — almost, but it makes you speech completely incomprehensible. I know it might be difficult for you, but you have to find a way to write in English. I know, automatic translation is bad, but also use some dictionaries, go slowly and carefully...
What is "LAN card"? How it's not directly? What is "C# socket?" :-)
—SA
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

It's hard to give a solution without knowing your exact network setup.
Most common case when connecting through a router is that your local network is behind NAT and it makes direct connection from Internet to local computer impossible.
Solution depends on your router capabilities: you would want to search for port forwarding or put your computer in DMZ zone.
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 3

I just want to use socket to connect to a remote computer and send the message (TCP chat). What do you suggest? Port forwarding or put the computer in DMZ zone?
  Permalink  
Comments
sjelen 17-Jan-13 11:27am
   
In that case I would use port forwarding. You'll need to forward port that your chat application uses and map it to the local network IP address of the computer you want to connect to. It's easier to setup if your computer uses static local IP, not DHCP.

And please use "Have a Question or Comment" button to post additional question, do not post a question as solution.
animares 18-Jan-13 3:31am
   
No my computer use DHCP.
Analog ICQ?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160826.1 | Last Updated 17 Jan 2013
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100