socketWrite


socketWrite status

socketWrite (socketId, data)

Writes the data as a UTF-8 string to the TCP/IP socket referenced by socketId.

Parameters:

socketId - The socket identifier returned from socketOpen.

data - A string with the data to write.

Returns:

True if data was written successfully, false otherwise.

Example:

See the example in socketOpen.


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*