lnobad / lidgren-network-gen3

Automatically exported from code.google.com/p/lidgren-network-gen3
0 stars 0 forks source link

Connect/Disconnect per channel. #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Current NetIncommingMessageType.StatusChanged goes for overall status.
It would be nice to add additional types specific for channels:
 NetConnectionStatus.ChannelConnected
 NetConnectionStatus.ChannelDisconnected

Additional methods could be introduced:
 NetClient.ConnectChannel - called automatically by NetClient.SendMessage
 NetClient.DisconnectChannel - tells NetServer about disconnecting channel.

Current way is passing this via NetIncommingMessageType.Data and parsing.

Thank you.

Original issue reported on code.google.com by NN1436401@gmail.com on 13 Jul 2010 at 10:39

GoogleCodeExporter commented 9 years ago
After a small thought, it seems to be impossible since we have Unconnected 
messages too.

Please delete this issue.

Original comment by NN1436401@gmail.com on 13 Jul 2010 at 11:19

GoogleCodeExporter commented 9 years ago
If this functionality is really needed; create multiple peers.

Original comment by lidg...@gmail.com on 13 Jul 2010 at 1:27

GoogleCodeExporter commented 9 years ago
Great idea. Thanks.

Original comment by NN1436401@gmail.com on 14 Jul 2010 at 9:11