Home
last modified time | relevance | path

Searched refs:mail_socket (Results 1 – 3 of 3) sorted by relevance

/php-src/win32/
H A Dglobals.c32 wg->mail_socket = INVALID_SOCKET; in php_win32_core_globals_ctor()
55 if (INVALID_SOCKET != wg->mail_socket) { in php_win32_core_globals_dtor()
56 closesocket(wg->mail_socket); in php_win32_core_globals_dtor()
57 wg->mail_socket = INVALID_SOCKET; in php_win32_core_globals_dtor()
H A Dsendmail.c311 shutdown(PW32G(mail_socket), 0); in TSMClose()
312 closesocket(PW32G(mail_socket)); in TSMClose()
813 if ((PW32G(mail_socket) = socket(PF_INET, SOCK_STREAM, 0)) == INVALID_SOCKET) { in MailConnect()
819 closesocket(PW32G(mail_socket)); in MailConnect()
826 closesocket(PW32G(mail_socket)); in MailConnect()
839 closesocket(PW32G(mail_socket)); in MailConnect()
848 closesocket(PW32G(mail_socket)); in MailConnect()
873 if (connect(PW32G(mail_socket), (LPSOCKADDR) & sock_in, sizeof(sock_in))) { in MailConnect()
874 closesocket(PW32G(mail_socket)); in MailConnect()
905 if ((slen = send(PW32G(mail_socket), msg + index, len, 0)) < 1) in Post()
[all …]
H A Dphp_win32_globals.h44 SOCKET mail_socket; member

Completed in 8 milliseconds