How to group 2 udp clients?

后端 未结 1 1933
北恋
北恋 2020-12-12 08:18

What i\'m trying to do is group 2 clients and make them communicate with eachother. So if 2 clients are connected they would only be able to communicate with eachother and i

1条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-12 08:54

    What youre trying is a message broadcast or a message-repeater-client. broadcasting is implemented on network layer (using brodcast the local network broadcast adress).

    And if you implementing it that way, you'll flood your network, when you have more than 2 clients. Best regards to your network admin. ;-)

    0 讨论(0)
提交回复
热议问题