Send string or binary data to socket.
- Parameters:
-
| sockfd | socket descriptor |
| binary | data pointer |
| nbytes | sending size |
- Returns:
- the number of bytes sent on success, or -1 if an error(ex:socket closed) occurred.
- Since:
- 8.1R
Definition at line 258 of file qSocket.c.