Send formatted string to socket.
- Parameters:
-
| sockfd | socket descriptor |
| format | variable argument lists |
- Returns:
- the number of bytes sent on success, or -1 if an error(ex:socket closed) occurred.
- Since:
- 8.1R
- Note:
- the final length of formatted string must be less than 1024 If you need to send more huge string, use qSocketPuts instead.
Definition at line 301 of file qSocket.c.