Data sent through global network (explications) - C+++



  • Started to deal with the sockets winsocks. Write a stew that receives and sends the same message at the local address. Okay. This local address cannot be connected to another company. I've been trying to do bind functions to transmit the global ip addresss, but he made a mistake.

    So, how do you even get my computer to be a server, and it could be connected to different, not local computers?



  • No, you need Sneider's book. http://www.ozon.ru/context/detail/id/126048/

    First of all, we need to figure out how your computer is connected to the Internet. It's rare that a home user can boast directly IPs from the Internet - BELUM IP. Whites include addresses other than https://ru.wikipedia.org/wiki/%D0%A7%D0%B0%D1%81%D1%82%D0%BD%D1%8B%D0%B9_IP-%D0%B0%D0%B4%D1%80%D0%B5%D1%81 ♪

    It's easy to find out, go to 2IP. RU or similar services, and look what it says about your connection.

    If you have a white IP, and between your computer and the Internet, there's no Router, all trivial, open the juket and work.

    If there's some kind of router, it's probably NAT. Then we need the NAT bypass.

    If you're the owner of the Router, you need to build it. https://ru.wikipedia.org/wiki/%D0%A2%D1%80%D0%B0%D0%BD%D1%81%D0%BB%D1%8F%D1%86%D0%B8%D1%8F_%D0%BF%D0%BE%D1%80%D1%82-%D0%B0%D0%B4%D1%80%D0%B5%D1%81 ♪

    If not, NAT bypassing equipment like ICE and STUN remain.

    Also, there is the possibility of IP connections through the surface networks - tor, https://github.com/gjedeer/tuntox And so on.




Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2