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
  1. Home
  2. General Programming
  3. C#
  4. TCP/IP Hates me and wants me to fail.

TCP/IP Hates me and wants me to fail.

Scheduled Pinned Locked Moved C#
helpcsharpsysadmintestingbeta-testing
5 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.
  • J Offline
    J Offline
    jas0n23
    wrote on last edited by
    #1

    Hey All! :-D, Over the past coupla months I've read alot about TCP/IP and

    System.Net.Sockets

    etc and I made my own little server/client application. Simple. One connects the other listens and receives messages. All works fine on my end (testing). BUT, to my surprise, it never works on anybody elses computer. I give them the client, and I use my server to listen, and they can never end up connecting to my server. They always get a "Server took way way way too long to respond" and similar error messages. :-(. I tried reading a little more about it and nothing I had read helped solve the problem. So, I turned to my second best friend (Google) and found about 20 sample client/server applications that I downloaded and tested. They all worked perfectly on my own computer. But when I got friends to test, same old story... Couldn't connect. My friends have DSL Internet. Does this matter? Can anybody help shed a little light on this? I'd appreciate any help I can get on this. lots of thanks, jay

    foreach( inch on Jason ) { Girlfriend.IsHappier(); }

    C 1 Reply Last reply
    0
    • J jas0n23

      Hey All! :-D, Over the past coupla months I've read alot about TCP/IP and

      System.Net.Sockets

      etc and I made my own little server/client application. Simple. One connects the other listens and receives messages. All works fine on my end (testing). BUT, to my surprise, it never works on anybody elses computer. I give them the client, and I use my server to listen, and they can never end up connecting to my server. They always get a "Server took way way way too long to respond" and similar error messages. :-(. I tried reading a little more about it and nothing I had read helped solve the problem. So, I turned to my second best friend (Google) and found about 20 sample client/server applications that I downloaded and tested. They all worked perfectly on my own computer. But when I got friends to test, same old story... Couldn't connect. My friends have DSL Internet. Does this matter? Can anybody help shed a little light on this? I'd appreciate any help I can get on this. lots of thanks, jay

      foreach( inch on Jason ) { Girlfriend.IsHappier(); }

      C Offline
      C Offline
      Colin Angus Mackay
      wrote on last edited by
      #2

      Are there firewalls in between blocking the connection?

      *Developer Day Scotland - Free community conference Delegate Registration Open

      J 1 Reply Last reply
      0
      • C Colin Angus Mackay

        Are there firewalls in between blocking the connection?

        *Developer Day Scotland - Free community conference Delegate Registration Open

        J Offline
        J Offline
        jas0n23
        wrote on last edited by
        #3

        Well, I don't know if they are blocking the connection. But now that you've mentioned it. That must be the case since we're all using anti-virus software with their own Firewalls. I use ESET Smart Security. And my friends are using AVG and Norton's. Maybe there's a way to get around the firewall's without disabling them?

        foreach( inch on Jason ) { Girlfriend.IsHappier(); }

        C 1 Reply Last reply
        0
        • J jas0n23

          Well, I don't know if they are blocking the connection. But now that you've mentioned it. That must be the case since we're all using anti-virus software with their own Firewalls. I use ESET Smart Security. And my friends are using AVG and Norton's. Maybe there's a way to get around the firewall's without disabling them?

          foreach( inch on Jason ) { Girlfriend.IsHappier(); }

          C Offline
          C Offline
          Colin Angus Mackay
          wrote on last edited by
          #4

          If it is a firewall issue, ensure that the port of your service is open on the firewall(s). You can also cheat and use a common port so long as you are not already using that service. e.g. If you don't have a web server installed on your computer you can use port 80 as firewalls typically keep that one open.

          *Developer Day Scotland - Free community conference Delegate Registration Open

          J 1 Reply Last reply
          0
          • C Colin Angus Mackay

            If it is a firewall issue, ensure that the port of your service is open on the firewall(s). You can also cheat and use a common port so long as you are not already using that service. e.g. If you don't have a web server installed on your computer you can use port 80 as firewalls typically keep that one open.

            *Developer Day Scotland - Free community conference Delegate Registration Open

            J Offline
            J Offline
            jas0n23
            wrote on last edited by
            #5

            Oh. Awesome. It worked. Thanks so much for that!!! :-D Jay.

            foreach( inch on Jason ) { Girlfriend.IsHappier(); }

            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