Unexplained Socket Error
| From: | David Buerer | Date: | Tue, 20 Aug 2002 16:51:15 +0000 |
| Subject: | Unexplained Socket Error | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-113367@lists.php.net to get a copy of this message | ||
Anyone know why I might get this error?
I was working on development of a socket server several weeks ago and it was
working fine. When I returned to it this morning, I am getting this error:
Listening on port 1482 (sucess message from socket_create)
Warning: socket_bind() unable to lookup host [1001]: Recursion too deep,
stack overflowed. in test_server.php on line 31
AIEE -- Couldn't bind! (failure message from socket_bind)
Line 31 says :
if (!socket_bind($listenfd, "172.25.190.4", $PORT))
{
socket_close($listenfd);
die("AIEE -- Couldn't bind!\n");
}