CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2004
    Posts
    21

    hmm... Telnet Server

    So I'm writing a Telnet Server(under Windows 2003 using VS .NET) and here is my problem: i want when the client connect to the server to execute commands(all commands that appear when you type 'help' in 'cmd.exe'). So how i can execute a command(which the client has typed) on the server and send the results back to the client(for example to execute 'dir' and return to the client all files in the directory). Any advices?

  2. #2
    Join Date
    Aug 2001
    Location
    Stockholm, Sweden
    Posts
    1,664
    You should look into pipes and redirection. Do some searching on internet. Here is a start:
    http://community.borland.com/article...,10387,00.html

    /Jonas

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured