Home  >  Article  >  Backend Development  >  php函数stream_set_timeout在空间里会超时,在本机上确不会,为什么?

php函数stream_set_timeout在空间里会超时,在本机上确不会,为什么?

WBOY
WBOYOriginal
2016-06-06 20:48:141172browse

在万网虚机上,,调用stream_set_timeout($this->_socket, 30)不行;在本机就可以。

$this->_socket: tcp://smtp.163.com:25

回复内容:

在万网虚机上,,调用stream_set_timeout($this->_socket, 30)不行;在本机就可以。

$this->_socket: tcp://smtp.163.com:25

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn