socket.send
The method sends a request to the connected server.
method uint socket.send (
str data
)
str data
)
Parameters
data | Request string. |
Return value
If the function succeeds, the return value is 1. If the function fails, the return value is 0.
socket.send
The method sends a request data to the connected server.
method uint socket.send (
buf data
)
buf data
)
Parameters
data | Request buffer. |
Return value
If the function succeeds, the return value is 1. If the function fails, the return value is 0.
Related links | Source |