As my accademic project i am trying to implement a
telnet server.
I am having some difficulties in that.If u don't mind,
i expect
some help from you.
At the server side , in seperste sockets i handles
each client.
And as per the req from the client , i have to execute
a program
in the server machine and have to accept its input
from the
client keyboard and display its out put at the client
screen.
What i am thinking is in i will use seperate threads
to handle each
client and one socket for each client,and one socket
to acept conection
on port 23.No the prob is how i can redirect the
client I/O streams
to the process(created for executing the required
program)I/O stream.
At the client side i am planning for a window ,in wich
there is
a portion for console and few buttons.How i can fix
the console
(created using alloc console) at a specified location
in a window.
Can i do it using MFC or should i go for Win 32
programming.
And have to read from the console and have to put
that data to the
out stream of socket and using the data from the
socket i have to display it in
the console.
telnet server.
I am having some difficulties in that.If u don't mind,
i expect
some help from you.
At the server side , in seperste sockets i handles
each client.
And as per the req from the client , i have to execute
a program
in the server machine and have to accept its input
from the
client keyboard and display its out put at the client
screen.
What i am thinking is in i will use seperate threads
to handle each
client and one socket for each client,and one socket
to acept conection
on port 23.No the prob is how i can redirect the
client I/O streams
to the process(created for executing the required
program)I/O stream.
At the client side i am planning for a window ,in wich
there is
a portion for console and few buttons.How i can fix
the console
(created using alloc console) at a specified location
in a window.
Can i do it using MFC or should i go for Win 32
programming.
And have to read from the console and have to put
that data to the
out stream of socket and using the data from the
socket i have to display it in
the console.