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 application using sockets?

Client - Server application using sockets?

Scheduled Pinned Locked Moved C#
csharpc++sysadmintutorialquestion
6 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.
  • U Offline
    U Offline
    uresh hanmugam
    wrote on last edited by
    #1

    Hi, I want to build one MFC dll which will act as a server using socket or any other concepts... And then want to build one windows application using c# which will act as a client. If i click a button from the c# application, one of the server function want to invoke!.. Is it possible? If anybody know, please guide me... Thanx in advance Surez

    L S 2 Replies Last reply
    0
    • U uresh hanmugam

      Hi, I want to build one MFC dll which will act as a server using socket or any other concepts... And then want to build one windows application using c# which will act as a client. If i click a button from the c# application, one of the server function want to invoke!.. Is it possible? If anybody know, please guide me... Thanx in advance Surez

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

      MFC ??? This is C# WinForm, not MFC forum...

      U 1 Reply Last reply
      0
      • L Lost User

        MFC ??? This is C# WinForm, not MFC forum...

        U Offline
        U Offline
        uresh hanmugam
        wrote on last edited by
        #3

        sorry! i'm having MFC dll, which act as a server by the way of socket concept. Could i communicate that server from my c# application?

        L 1 Reply Last reply
        0
        • U uresh hanmugam

          sorry! i'm having MFC dll, which act as a server by the way of socket concept. Could i communicate that server from my c# application?

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

          You already asked this question in the C++ forum. Please follow the rules.

          U 1 Reply Last reply
          0
          • L Lost User

            You already asked this question in the C++ forum. Please follow the rules.

            U Offline
            U Offline
            uresh hanmugam
            wrote on last edited by
            #5

            ok thank you

            1 Reply Last reply
            0
            • U uresh hanmugam

              Hi, I want to build one MFC dll which will act as a server using socket or any other concepts... And then want to build one windows application using c# which will act as a client. If i click a button from the c# application, one of the server function want to invoke!.. Is it possible? If anybody know, please guide me... Thanx in advance Surez

              S Offline
              S Offline
              SeMartens
              wrote on last edited by
              #6

              Hi, yes it is possible to communicate with C# via sockets. Have a look at this article (scroll down to the middle to find the interesting socket part. A Simple Crawler Using C# Sockets[^] More interesting than the server is using sockets is the protocol the server speaks. So what command do you have to send to let the server do this or that. Keep that in mind while programming. Regards Sebastian

              It's not a bug, it's a feature! Check out my CodeProject article Permission-by-aspect. Me in Softwareland.

              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