Skip to content

stream_socket_accept always false #2

@lindnerdaniel

Description

@lindnerdaniel

Hi,

I running PHP 8.0 on Ubuntu machine. My socket (using FreeDSx/ldap LdapServer) always quit after starting.
After short debugging: The timeout in stream_socket_accept fails. After removing this Parameter, the socket running.

src/FreeDSx/Socket/SocketServer.php - Line 126:
$socket = @\stream_socket_accept($this->socket, $timeout); -> $socket = @\stream_socket_accept($this->socket);

Any idea why?

BR

Daniel

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions