IMathLinkFlush Method
Immediately transmits any data buffered for sending over the link.
Namespace: Wolfram.NETLinkAssembly: Wolfram.NETLink (in Wolfram.NETLink.dll) Version: 2.0.0.0
abstract Flush : unit -> unit
Any calls that read from the link will flush it, so you only need to call Flush manually if you want
to make sure data is sent right away even though you are not reading from the link immediately.
Calls to Ready will not flush the link, so if you are sending something and then polling Ready waiting
for the result to arrive (as opposed to just calling NextPacket or WaitForAnswer), you must call Flush
to ensure that the data is sent.