TCPConnectionPut Full Description |
|
Syntaxdefine external function TCPConnectionPut value TCPConnection this-TCPConnection from value stream characters-to-be-put timeout value counter timeout-in-milliseconds optional as TCPConnectionPut Purpose This function writes characters to a TCP connection, sending them to the receiver.
define function TCPConnectionPut value TCPConnection this-TCPConnection from value stream characters-to-be-put timeout value counter timeout-in-milliseconds optional as do when timeout-in-milliseconds is specified set TCPConnectionGetOutput this-TCPConnection timeout timeout-in-milliseconds to characters-to-be-put else set TCPConnectionGetOutput this-TCPConnection to characters-to-be-put done The difficulties inherent with multiple derived outputs apply to uses of Note that sequential uses of Any attempt to do a Any attempt to do a Arguments:
Example:
local TCPConnection TCP-Conn set TCP-Conn to TCPConnectionOpen on "localhost" at 5300 TCPConnectionPut TCP-Conn from "hello world" TCPConnectionPut TCP-Conn from ((("*" ||* 78) || "%n") ||* 40) |