jatpat / lidgren-network-gen3

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

Can the threads have better names? #106

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Would it be possible to indicate if a thread is from a server or a client?

When I run an app where the 'server' and client run in the same application I 
see 2 network threads that are called 'Lidgren network thread 1' and 'Lidgren 
network thread 2'. I have to apply break points to determine which is which

Is there any way the server could be indicated that would really help.

Original issue reported on code.google.com by z...@thezbuffer.com on 26 Jan 2012 at 7:45

GoogleCodeExporter commented 9 years ago
You can set the name of the network thread using 
NetPeerConfiguration.NetworkThreadName - just remember to do it before calling 
Start().

Original comment by lidg...@gmail.com on 1 Mar 2012 at 7:08