Re: Sockets Redirection problem



Thanks for the replies folks.

I thought that select is used to switch between couple of sockets when
waiting for clients to connect but I haven't read anything but the
basics so I can't know until I read it - I will give it a try.

I know that ssh is doing the same thing but It is for the learning
purpose - I am still a student so I believe that I will benefit from
trying to program such things.

By the way do you have any source files about redirection of local
commands through a pipe and sending it to a socket. I think I am
missing something in my source code and I can't figure what it is.

Thank you in advance.

.



Relevant Pages

  • sockets, closing and TIME_WAIT
    ... During heavy load the server can't follow anymore because the sockets ... my server should be able to handle 10 clients connecting ... This gets a free position in the array of connections, ...
    (comp.unix.programmer)
  • Re: blocking non blocking
    ... not connected to incoming data on the same thread, async sockets have to be ... somehow a server with 50K threads, ... or overlapped I/O servicing 50K clients. ... read and learnt about blocking and non blocking, ...
    (microsoft.public.win32.programmer.networks)
  • Re: validating client in socket communciation
    ... sockets kept open through out or shall the client open the connection ... performance-wise there is even more overhead opening and closing connections between the server and the same client over and over. ... Unless clients only communicate with the server very infrequently, you should just keep their connections open. ... a server supporting 1 million sockets is going to have to get _everything_ right. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Moving files from clients to the server
    ... I'm not very familiar with sockets but I'll look into that, ... >> files should be passed to the server. ... the fastest way to create them is on the clients' machines. ... >> Another solution is to steam the files over the network. ...
    (microsoft.public.vc.atl)
  • Re: blocking non blocking
    ... Ok now i am very confused...here is why i think non blocking is less ... non blocking sockets typically involve some busy waiting and ... somehow a server with 50K threads, ... or overlapped I/O servicing 50K clients. ...
    (microsoft.public.win32.programmer.networks)