I got cut off again!!!!!

> >The example is the following.
> >host1%> rsh host2 sort
>
> Your example just executes sort on host2. Why is that considered half
> closed and what is host2 sorting? I could see that there might be a case
> where you would tell another host to sort something and then you would
> consider yourself finished. But you might be waiting for feedback that the
> sort actually worked. You could send a FIN and be in the FIN-WAIT-1 state
> and still receive a message that says the sort worked. Perhaps it's


the actual command was

host1#> rsh  host2 sort < datafile

where rsh copies datafile to the connection , and copies form the connection
to standard output. when EOF is reached on the input (datafile) host1
performs a half close on the TCP connection. the host2 sorts the file and
writes it to the TCP connection. host1 reads its end of the TCP connection,
copying the file to standard otuput (terminal).




Message Posted at:
http://www.groupstudy.com/form/read.php?f=7&i=43176&t=43090
--------------------------------------------------
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]

Reply via email to