Logo Search packages:      
Sourcecode: nbsmtp version File versions  Download package

ssize_t fd_puts ( servinfo_t serverinfo,
const char *  buf,
size_t  count 

Puts a number of chars to a socket.

[in] serverinfo A pointer to a servinfo_t structure with the information of the socket
[in] buf A pointer to the string to be written
[in] count Number of chars to write to the socket
We return what write (or SSL_write) returns

Definition at line 100 of file fdutil.c.

References servinfo::sockfd.

Referenced by nbsmtp_data(), nbsmtp_data_body(), and smtp_write().

#ifdef HAVE_SSL
      if(serverinfo->use_tls==True && serverinfo->using_tls==True)

Generated by  Doxygen 1.6.0   Back to index