fsockopen errors

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mike Wernsing

    #1

    fsockopen errors

    In the code fragment below $errno and $errstr get set to the
    system-level errno and strerror() from the connect() call. Does anyone
    know what the errors below mean an how I may rectify them?

    $fp = fsockopen($host , $port, $errno, $errstr, 30);

    Here are the resulting errors I get regardless of what I specify for
    $host:

    $errno = "115"
    $errstr = "Operation now in progress"

    The function always returns false immediately no matter what I set as
    the timeout argument.
  • Pedro Graca

    #2
    Re: fsockopen errors

    Mike Wernsing wrote:[color=blue]
    > $fp = fsockopen($host , $port, $errno, $errstr, 30);[/color]
    [color=blue]
    > Here are the resulting errors I get regardless of what I specify for
    > $host:[/color]
    [color=blue]
    > $errno = "115"
    > $errstr = "Operation now in progress"[/color]


    --
    --= my mail box only accepts =--
    --= Content-Type: text/plain =--
    --= Size below 10001 bytes =--

    Comment

    Working...