Skip to content

Address() creation with non-byte host argument #5

Description

@noway

When Address is being created with an argument which is not an instance of bytes, pyenet will through and error.

Because of the following:
https://github.com/aresch/pyenet/blob/master/enet.pyx#L226

bytes() only takes in 1 argument.

Also, there's no way to specify host as None with this bytes() conversion...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions