Socket Troubble

Back to PHP-IRC Support

Page: 1  
From User Message Body
Addramyr
Post #265
user avatar
Member
Date: 2:15 pm, Jul 1 2006
Posts: 43


Socket Opend: 34
STATUS: Connecting to server...
Marking socket dead: 34
Killing socket: 34
Closed socket: 34
ERROR: Could not connect: [10035]:A Non-blocking socket operation could not be completed immediatly

That is stopping my bot from working :(
Any ideas????

___________
Addramyr
CEO Skieweb Technologies
http://wwww.skieweb.com
Manick
Post #267
user avatar
Admin
Date: 11:26 pm, Jul 1 2006
Posts: 223


Try forcing your OS to windows in defines.php:

Code
define('OS', 'windows');


--Manick
PHP-IRC Developer
clocktower
Post #415
Member
Date: 11:58 pm, Dec 6 2006
Posts: 3


I getting this same error message. I have define('OS', 'Windows'); set in defines.php, and extension=php_sockets.dll is uncommented in the php.ini file as per the readme. any other ideas?

Manick
Post #418 - Reply to (#415) by clocktower
user avatar
Admin
Date: 6:36 pm, Dec 7 2006
Posts: 223


yea it has to do with exceptions in handle for socket.php (it's a bug that's handled in 2.2.2), just find the socket_select( statement and change $except to $except = NULL ...

It has to do with the server you're trying to connect to having issues or something I think. The tcp connection sends out of bounds data and the bot just figures it means that it's a bad connection and disconnects. (which it is, when you fix that bug up there all that will happen will be that the bot times out). I don't know, but it might be a dns issue or something. I haven't quite worked that part out yet.

Last edited by Manick at 8:08 pm, Dec 7 2006

--Manick
PHP-IRC Developer
   

Back to PHP-IRC Support