Skip to content

Binding to 0.0.0.0 (default) does not work #20

@Fogapod

Description

@Fogapod
cargo run -- host
cargo run -- join 127.0.0.1:33998 eugene

results in a spam by server: ERROR renetcode::server: Failed to process packet: token does not contain the server address

this is where check happens: https://github.com/lucaspoffo/renet/blob/1e54d53afe18e80e2ebf8e94615402b5b06686cf/renetcode/src/server.rs#L264
this PR adds ability to bind to multiple addresses (not yet released): lucaspoffo/renet#102

server will probably need to use new lib version and somehow get all interfaces if https://doc.rust-lang.org/std/net/struct.Ipv4Addr.html#method.is_unspecified

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