TcpWrite


TcpWrite connection, data$

This command writes data bytes to a TCP socket connection. It is important to note that only the lower eight bits of each character is written to the TCP socket. The strings being written should be thought of as containing bytes.


TcpWrite 1, data$

err$ = TcpGetError$(1)
if err$ <> "" then Print "Err: "; err$
if TcpGetState(1) <> 1 then Print "Connection Lost"




TcpOpen


TcpClose


TcpGetState()


TcpGetError$()


TCPGetAddr$()


TcpGetSize()


TcpRead


TcpReadln


TcpReadUTF


TcpWriteln


TcpWriteUTF







Become a Patron