ssize_t qSocketPrintf ( int  sockfd,
const char *  format,
  ... 
)

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.


Generated on Mon Mar 26 07:00:51 2018 for JSOC_Documentation by  doxygen 1.5.7.1