The SendEOF method sends an EOF packet to the remote end,
indicating that it has finished transferring data to the
server. You will not usually call this method unless you
exactly know when and why to use it.
Typical usage is during file transfer, for example when
simulating SCP protocol. In this case you have to let the
server know that you have finished sending data and that it
should write the data to the disk. The protocol specification say that this is
done using an EOF signal.
SendEOF cannot be used with Telnet or Raw
protocols.