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. Managed C++/CLI
  4. socket program help

socket program help

Scheduled Pinned Locked Moved Managed C++/CLI
sysadminlinuxhelp
4 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
    mhetfield1978
    wrote on last edited by
    #1

    Hi all, i want to add in that server program that it will accept only the password from the client if it's "mypassword": i'm not writing any client program. the client will be the built in linux Telnet program so the session will be between the server and client as follows 1. telnet 192.11.11.9 password "mypassword". 2.then the server if recieved the password "mypassword" it will connect if not it will close the connection. I want to know how i can make the server program recognize that the pasword is right or wrong..how i can write it in the server Thanks

    C 1 Reply Last reply
    0
    • M mhetfield1978

      Hi all, i want to add in that server program that it will accept only the password from the client if it's "mypassword": i'm not writing any client program. the client will be the built in linux Telnet program so the session will be between the server and client as follows 1. telnet 192.11.11.9 password "mypassword". 2.then the server if recieved the password "mypassword" it will connect if not it will close the connection. I want to know how i can make the server program recognize that the pasword is right or wrong..how i can write it in the server Thanks

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Are you using .NET, or are you in the wrong forum ?

      Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

      M 1 Reply Last reply
      0
      • C Christian Graus

        Are you using .NET, or are you in the wrong forum ?

        Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

        M Offline
        M Offline
        mhetfield1978
        wrote on last edited by
        #3

        No...I'm unsing C programming

        N 1 Reply Last reply
        0
        • M mhetfield1978

          No...I'm unsing C programming

          N Offline
          N Offline
          Nish Nishant
          wrote on last edited by
          #4

          mhetfield1978 wrote:

          No...I'm unsing C programming

          Then you are in the wrong forum. This one's for .NET based C++ questions.

          Regards, Nish


          Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
          C++/CLI in Action (*E-Book is out, Print version April 6th*)

          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