Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. socket programming

socket programming

Scheduled Pinned Locked Moved .NET (Core and Framework)
sysadmincsharpquestionloungeworkspace
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    enduroist
    wrote on last edited by
    #1

    hi all I want to make chat program using System.Net.Sockets namespace Chat examples work fine in local area network... But I couldn't get them work on internet. I have DSL router.. I setup these on adsl: NAT(Virtual servers): Protocol: TCP, External port: 399 Internal Port:399 Internal server IP address: 192.168.1.2 (which my computer's local IP) am I missing something?

    S 1 Reply Last reply
    0
    • E enduroist

      hi all I want to make chat program using System.Net.Sockets namespace Chat examples work fine in local area network... But I couldn't get them work on internet. I have DSL router.. I setup these on adsl: NAT(Virtual servers): Protocol: TCP, External port: 399 Internal Port:399 Internal server IP address: 192.168.1.2 (which my computer's local IP) am I missing something?

      S Offline
      S Offline
      stevepham42
      wrote on last edited by
      #2

      If you are trying to communicate between your computer and another computer through the internet, your internal IP wont resolve to the other computer. You may need to add your internal IP into your Router's DMZ. Another thing that may cause problems is your firewall may be blocking the port you are listening on (399)

      E 1 Reply Last reply
      0
      • S stevepham42

        If you are trying to communicate between your computer and another computer through the internet, your internal IP wont resolve to the other computer. You may need to add your internal IP into your Router's DMZ. Another thing that may cause problems is your firewall may be blocking the port you are listening on (399)

        E Offline
        E Offline
        enduroist
        wrote on last edited by
        #3

        thank you for your reply... My mistake was; I was trying to connect from same computer to same computer... Anyway it's working now from another computer to my computer thanks

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups