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. Client - Server over Internet C#

Client - Server over Internet C#

Scheduled Pinned Locked Moved C#
csharpsysadminquestion
5 Posts 3 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.
  • M Offline
    M Offline
    Member 4311057
    wrote on last edited by
    #1

    Hi all. I've search a lot but i haven't find a code in c# that make a Client-Server net that work over internet. All samples i found work only on LAN. Can anyone please give me some link of sample that use a Client-Server net working over internet? Thanks.

    N L M 3 Replies Last reply
    0
    • M Member 4311057

      Hi all. I've search a lot but i haven't find a code in c# that make a Client-Server net that work over internet. All samples i found work only on LAN. Can anyone please give me some link of sample that use a Client-Server net working over internet? Thanks.

      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #2

      Member 4311057 wrote:

      I've search a lot but i haven't find

      That's because it doesn't exist. If you want to connect applications via the internet then use WebServices.


      I know the language. I've read a book. - _Madmatt

      1 Reply Last reply
      0
      • M Member 4311057

        Hi all. I've search a lot but i haven't find a code in c# that make a Client-Server net that work over internet. All samples i found work only on LAN. Can anyone please give me some link of sample that use a Client-Server net working over internet? Thanks.

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        Did you think about port forwarding? If you skip that on the server, the client can not connect to it.

        M 1 Reply Last reply
        0
        • L Lost User

          Did you think about port forwarding? If you skip that on the server, the client can not connect to it.

          M Offline
          M Offline
          Member 4311057
          wrote on last edited by
          #4

          I think the port are ok (they're opened i mean,i've open it in the firewall and they seems not to be blocked). Mark,can you give me a sample were you use webService? (for example a chat) A chat could be a great example becouse i can change the text message with the data i want to tranfer. Thanks.

          1 Reply Last reply
          0
          • M Member 4311057

            Hi all. I've search a lot but i haven't find a code in c# that make a Client-Server net that work over internet. All samples i found work only on LAN. Can anyone please give me some link of sample that use a Client-Server net working over internet? Thanks.

            M Offline
            M Offline
            Member 4311057
            wrote on last edited by
            #5

            Ok,i've made a web service that do what i want,the problem is that i can see it only in local network. How can i made it work (like Apache in PHP) from anywhere in internet ? 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