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. .NET (Core and Framework)
  4. socket communication uisng .net [modified]

socket communication uisng .net [modified]

Scheduled Pinned Locked Moved .NET (Core and Framework)
helpcsharpasp-netdatabasesysadmin
7 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.
  • Y Offline
    Y Offline
    yrishi
    wrote on last edited by
    #1

    Hello every one, I am developing an server side application which can communicate with its client. When server wants to communicate with its client, server will send sms to client to get ip address. After establishing connection between server and client,client will send some log file to server.Server will receive that file and store it into the database. My problem is, how can i achieve this, means on server side there will be a .net application(exe) or there will be web page(asp.net) Please help me on this.

    modified on Friday, May 29, 2009 2:29 AM

    M B 2 Replies Last reply
    0
    • Y yrishi

      Hello every one, I am developing an server side application which can communicate with its client. When server wants to communicate with its client, server will send sms to client to get ip address. After establishing connection between server and client,client will send some log file to server.Server will receive that file and store it into the database. My problem is, how can i achieve this, means on server side there will be a .net application(exe) or there will be web page(asp.net) Please help me on this.

      modified on Friday, May 29, 2009 2:29 AM

      M Offline
      M Offline
      Mohd Iliyas Ahmad
      wrote on last edited by
      #2

      Hi yrishi You need to change your approach in this scenario prepare a server desktop application(.exe) which will listen on particular port prepare a client application which establish connection with server. Once the connection is made then you can transfer the file or other object you want

      Y 1 Reply Last reply
      0
      • M Mohd Iliyas Ahmad

        Hi yrishi You need to change your approach in this scenario prepare a server desktop application(.exe) which will listen on particular port prepare a client application which establish connection with server. Once the connection is made then you can transfer the file or other object you want

        Y Offline
        Y Offline
        yrishi
        wrote on last edited by
        #3

        really thanks for your reply, actually my confusion is how to access .exe from multiple location as i am having more than one user to access that .exe application If i go through web application, then user can access it from anywhere. so which is better choice?

        1 Reply Last reply
        0
        • Y yrishi

          Hello every one, I am developing an server side application which can communicate with its client. When server wants to communicate with its client, server will send sms to client to get ip address. After establishing connection between server and client,client will send some log file to server.Server will receive that file and store it into the database. My problem is, how can i achieve this, means on server side there will be a .net application(exe) or there will be web page(asp.net) Please help me on this.

          modified on Friday, May 29, 2009 2:29 AM

          B Offline
          B Offline
          Baran M
          wrote on last edited by
          #4

          Use .Net remoting. If your clients are distributed across network within the verges of firewall, you can build a server program on a specified port. You can build client program which is expecting service from the same port on a server IP. :)

          Y 1 Reply Last reply
          0
          • B Baran M

            Use .Net remoting. If your clients are distributed across network within the verges of firewall, you can build a server program on a specified port. You can build client program which is expecting service from the same port on a server IP. :)

            Y Offline
            Y Offline
            yrishi
            wrote on last edited by
            #5

            Thanks for your reply. I'll check it. just tell me, can i do socket programming with asp.net? means at server side, there will be my web page and when i am in listening mode client can communicate me through the specific port no. is it possible in asp.net?

            B 1 Reply Last reply
            0
            • Y yrishi

              Thanks for your reply. I'll check it. just tell me, can i do socket programming with asp.net? means at server side, there will be my web page and when i am in listening mode client can communicate me through the specific port no. is it possible in asp.net?

              B Offline
              B Offline
              Baran M
              wrote on last edited by
              #6

              Sorry abt the late reply and you can establish socket connection from asp.net. Google it you will be getting more articles.

              Y 1 Reply Last reply
              0
              • B Baran M

                Sorry abt the late reply and you can establish socket connection from asp.net. Google it you will be getting more articles.

                Y Offline
                Y Offline
                yrishi
                wrote on last edited by
                #7

                hey thats fine, I'll check it. really thanks for your reply. actually i have again post my problem briefly. Please reply if get any idea

                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