socket_create

sirion

New Member
Messages
1
Reaction score
0
Points
0
I got a problem with socket_create

the page where I use socket_create always throws a 404 if not a 324 (net::ERR_EMPTY_RESPONSE)

and the error_log shows:

[30-Jun-2009 11:09:33] PHP Warning: socket_connect() [<a href='function.socket-connect'>function.socket-connect</a>]: unable to connect [4]: Interrupted system call in /home/sirion/public_html/blasphemy.php on line 64
[30-Jun-2009 11:09:33] PHP Notice: Undefined variable: socket in /home/sirion/public_html/blasphemy.php on line 66
[30-Jun-2009 11:09:33] PHP Warning: socket_last_error() expects parameter 1 to be resource, null given in /home/sirion/public_html/blasphemy.php on line 66
[30-Jun-2009 11:16:49] PHP Warning: socket_connect() [<a href='function.socket-connect'>function.socket-connect</a>]: unable to connect [4]: Interrupted system call in /home/sirion/public_html/blasphemy.php on line 64
[30-Jun-2009 11:16:49] PHP Notice: Undefined variable: socket in /home/sirion/public_html/blasphemy.php on line 66
[30-Jun-2009 11:16:49] PHP Warning: socket_last_error() expects parameter 1 to be resource, null given in /home/sirion/public_html/blasphemy.php on line 66
[30-Jun-2009 11:18:41] PHP Warning: socket_connect() [<a href='function.socket-connect'>function.socket-connect</a>]: unable to connect [4]: Interrupted system call in /home/sirion/public_html/blasphemy.php on line 64
[30-Jun-2009 11:18:41] PHP Notice: Undefined variable: socket in /home/sirion/public_html/blasphemy.php on line 66
[30-Jun-2009 11:18:41] PHP Warning: socket_last_error() expects parameter 1 to be resource, null given in /home/sirion/public_html/blasphemy.php on line 66
[30-Jun-2009 11:54:43] PHP Warning: phpinfo() has been disabled for security reasons in /home/sirion/public_html/info.php on line 1
[30-Jun-2009 11:58:21] PHP Warning: socket_connect() [<a href='function.socket-connect'>function.socket-connect</a>]: unable to connect [4]: Interrupted system call in /home/sirion/public_html/blasphemy.php on line 64
[30-Jun-2009 11:58:21] PHP Notice: Undefined variable: socket in /home/sirion/public_html/blasphemy.php on line 66
[30-Jun-2009 11:58:21] PHP Warning: socket_last_error() expects parameter 1 to be resource, null given in /home/sirion/public_html/blasphemy.php on line 66




can I safely assume that access of the function socket_create is disabled/blocked ?

or is it my fault?
 

garrettroyce

Community Support
Community Support
Messages
5,609
Reaction score
252
Points
63
I believe all of the socket functions are currently disabled. They will probably be re-enabled when the new backend system is finished. I believe Corey mentioned this in one of the new news posts.

However, even if they are re-enabled, the availability of them to you will be very very small. You must provide a very good reason why you should be allowed to use them to the staff. I don't know of anyone who has gotten V3 privileges before (everyone is on V2 right now) but I'm sure there are many who have.

I think the other problem is the firewall (which seems to be the trouble with your script since it's not giving a "disabled" warning). I don't know if you can connect to sockets outside of X10 or if you need special permission, or if the permission is granted by V3.
 
Last edited:
Top