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. Regarding Telnet

Regarding Telnet

Scheduled Pinned Locked Moved C#
csharphelptutorial
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.
  • P Offline
    P Offline
    pashitech
    wrote on last edited by
    #1

    In my application I need to use telnet to execute some commands so please help me to this. How to connect to telnet and how to execute the commands in c#.net Please help me on this Thanks in advance

    prashanth, s/w Engineer, Syfnosys.

    L P 2 Replies Last reply
    0
    • P pashitech

      In my application I need to use telnet to execute some commands so please help me to this. How to connect to telnet and how to execute the commands in c#.net Please help me on this Thanks in advance

      prashanth, s/w Engineer, Syfnosys.

      L Offline
      L Offline
      laddie 0
      wrote on last edited by
      #2

      Check this. http://www.activexperts.com/activsocket/howto/telnet/aspnetc/

      L 1 Reply Last reply
      0
      • L laddie 0

        Check this. http://www.activexperts.com/activsocket/howto/telnet/aspnetc/

        L Offline
        L Offline
        laddie 0
        wrote on last edited by
        #3

        Hope you google before you post question next time :-)

        1 Reply Last reply
        0
        • P pashitech

          In my application I need to use telnet to execute some commands so please help me to this. How to connect to telnet and how to execute the commands in c#.net Please help me on this Thanks in advance

          prashanth, s/w Engineer, Syfnosys.

          P Offline
          P Offline
          PIEBALDconsult
          wrote on last edited by
          #4

          I use System.Net.Sockets.TcpClient and System.Net.Sockets.NetworkStream.

          System.Net.Sockets.TcpClient socket = new System.Net.Sockets.TcpClient ( Host , Port ) ;
          socket.NoDelay = true ;
          System.Net.Sockets.NetworkStream stream = socket.GetStream() ;

          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