Back to product page

SendEOF method


Sends EOF packet to the server.

Type

Void

Syntax

  • C#
  • VB.NET
public Void SendEOF();

public Sub SendEOF()

Remarks

This method sends EOF packet to the remote side, indicating that it has finished transferring data to the server. Usually you will not use this method unless you exactly know when and why to use it.

Typical usage is when doing file transfer, for example simulating SCP protocol. In that case, you have to let server know that you have finished sending data and it should write data to the disk. As protocol specs say, it is done using EOF signal.

SendEOF cannot be used with Telnet or Raw protocols.

Platforms

Windows