Skip to content

error in recv() with SF_IO_NONBLOCK #173

@jliegner

Description

@jliegner

is IPV6_AVAILABLE not set, allways return SOCK_BUSY:

        if (sock_io_mode & (1 << sn)) {
            return SOCK_BUSY;
        }            

       if (recvsize != 0) {
            break;
        }

Please swap the two if blocks.

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