The WRITE command sends data to a socket.
The WRITE command for SOCKET devices accepts following controlmnemonics on a bound socket:
/L[ISTEN][(numexpr)]
Where numexpr is in the range 1-5 and specifies the listen queue depth.
/W[AIT][(timeout)]
Where timeout is a "numexpr" that specifies how long a server waits for a connect before returning control to the GT.M routine.
"WRITE !" inserts the character(s) of the first I/O delimiter (if any) to the sending buffer. If "ZFF=expr" has been used to define a delimiter, "WRITE #" inserts the characters of that delimiter. Otherwise WRITE # has no effect on the stream content. WRITE ! and WRITE # always maintain $X and $Y in a fashion that emulates a terminal cursor position.