How to Turn off Message coalescing

34 views
Skip to first unread message

Aidin Abedi

unread,
Jun 9, 2010, 6:21:25 AM6/9/10
to lidgren-network
Hi!

I'm trying to simulate traffic from multiple clients using a single lidgren gen2 client instance. If the single lidgren client sends the same amount of packets and data as the multiple clients would then the only difference from a servers point of view would be (correct me if I'm missing anything):

1. packets are likely more combined using a single client
2. looking up the NetConnection by IPEndPoint is faster since the table contains less items
3. ping only needs to be done to a single connection instead of multiple

Obviously 2 and 3 are pretty limited so I'm ignoring them. I know there is no API to turn off packet combining so where is this done in the library and can it easily be turned off?

Thank you

lidgren

unread,
Jun 9, 2010, 7:49:47 AM6/9/10
to lidgren-network
Revision 288 adds a UseMessageCoalescing setting to NetConfiguration.

Altho, I'd recommend using multiple netclients to get a more
representative load on the server; if possible.

--michael

Aidin Abedi

unread,
Jun 9, 2010, 11:53:45 AM6/9/10
to lidgren...@googlegroups.com
Thank you Micheal! Great Work!

--
You received this message because you are subscribed to the Google Groups "lidgren-network" group.
To post to this group, send email to lidgren...@googlegroups.com.
To unsubscribe from this group, send email to lidgren-netwo...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/lidgren-network?hl=en.


Reply all
Reply to author
Forward
0 new messages