Home
last modified time | relevance | path

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

/PHP-7.0/win32/
H A Dglobals.c36 wg->mail_socket = INVALID_SOCKET; in php_win32_core_globals_ctor()
59 if (INVALID_SOCKET != wg->mail_socket) { in php_win32_core_globals_dtor()
60 closesocket(wg->mail_socket); in php_win32_core_globals_dtor()
61 wg->mail_socket = INVALID_SOCKET; in php_win32_core_globals_dtor()
H A Dsendmail.c339 shutdown(PW32G(mail_socket), 0); in TSMClose()
340 closesocket(PW32G(mail_socket)); in TSMClose()
794 if ((PW32G(mail_socket) = socket(PF_INET, SOCK_STREAM, 0)) == INVALID_SOCKET) { in MailConnect()
800 closesocket(PW32G(mail_socket)); in MailConnect()
807 closesocket(PW32G(mail_socket)); in MailConnect()
820 closesocket(PW32G(mail_socket)); in MailConnect()
829 closesocket(PW32G(mail_socket)); in MailConnect()
854 if (connect(PW32G(mail_socket), (LPSOCKADDR) & sock_in, sizeof(sock_in))) { in MailConnect()
855 closesocket(PW32G(mail_socket)); in MailConnect()
886 if ((slen = send(PW32G(mail_socket), msg + index, len, 0)) < 1) in Post()
[all …]
H A Dphp_win32_globals.h48 SOCKET mail_socket; member

Completed in 11 milliseconds