socket.send
The method sends a request to the connected server.
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.
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 |