socketSend

Description

Sends data to a socket.

Input / Parameter

Output

N/A

Callback

callback

The function to be executed if data is sent to the socket successfully.

errorCallback

The function to be executed if data is not sent to the socket successfully.

Video

Coming Soon.

Example

Steps

  1. First ensure that you have established a socket connection. See socketConnect.

  2. Enter the details of data to be sent

Result

You can specify a function to be called when successful, and another one to be called if it is unsuccessful. See Callback.

Last updated