Thanks to visit codestin.com
Credit goes to github.com

Skip to content

NIC selection for protocols when creating a channel #35

@lzaiats

Description

@lzaiats

Just wanted to propose new constructors for all (network interface based) protocol implementations to allow you to specify wich NIC (ip address) you want the channel to binds to ;)

I did it by myself here, but i think it will be cool to others have this possibility!

_channelSettings["bindTo"] = _ipAddress;

when calling _channelFactory on

public override IChannel CreateChannel()

my version now is just like this:

_protocol = new TcpBinaryServerProtocolSetup(ipAddress, port);

BTW, you guys did a great job with this framework! I am currently using it as our MMORPG game servers P2P backend, for handover networked objects between servers ;)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions