+ Reply to Thread
Results 1 to 2 of 2

Thread: socket_create

  1. #1
    sirion is offline x10Hosting Member sirion is an unknown quantity at this point
    Join Date
    Jun 2009
    Posts
    1

    socket_create

    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?

  2. #2
    garrettroyce's Avatar
    garrettroyce is offline Generally Helpful Member garrettroyce is a glorious beacon of lightgarrettroyce is a glorious beacon of light
    Join Date
    Apr 2008
    Location
    IL, USA
    Posts
    3,746

    Re: socket_create

    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 by garrettroyce; 06-30-2009 at 12:22 PM.
    gjr.gr - coming soon: secrets of OCD coding from a self taught tinkerer

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers