Forum C# Measuring Traffic

Measuring Traffic

Postby default0 » December 28th, 2010, 12:36 am

Hey

I want to measure the traffic caused during the session of a player, but I can't find a way to do this.
Any help is highly appreciated!

Best regards
Try to play my Game: -->BlackGalaxy<--
User avatar
default0
 
Posts: 115
Joined: February 2nd, 2010, 6:46 pm
Location: Germany

Re: Measuring Traffic

Postby TobiasW » December 28th, 2010, 1:14 am

User avatar
TobiasW
 
Posts: 59
Joined: August 29th, 2010, 12:31 am

Re: Measuring Traffic

Postby phil.peron » December 28th, 2010, 4:04 pm

I like Wireshark a lot and also use Charles.
phil.peron
 
Posts: 35
Joined: September 24th, 2010, 7:50 pm

Re: Measuring Traffic

Postby default0 » December 29th, 2010, 9:51 pm

Thanks, nice tools.
I got both to work, but I prefer Charles.
That really helped a lot optimizing my msg protocol :)

Best regards
Try to play my Game: -->BlackGalaxy<--
User avatar
default0
 
Posts: 115
Joined: February 2nd, 2010, 6:46 pm
Location: Germany

Re: Measuring Traffic

Postby TobiasW » December 30th, 2010, 12:19 am

default0 wrote:That really helped a lot optimizing my msg protocol :)

Might I ask in what way? Maybe some things that others could apply too?
User avatar
TobiasW
 
Posts: 59
Joined: August 29th, 2010, 12:31 am

Re: Measuring Traffic

Postby default0 » December 30th, 2010, 12:37 pm

TobiasW wrote:
default0 wrote:That really helped a lot optimizing my msg protocol :)

Might I ask in what way? Maybe some things that others could apply too?


Ill try to explain, but it was pretty specific to my game: I was fighting with me whether I should right at the player-login should send one huge msg containing all npcs and updating them every here and then or if I only send them in if they are close to the player. I was already tending more to the 2nd, but I wasnt 100% sure, after measuring traffic I figured that 2nd way of implementation was ways better ;)

I just needed some good proof to figure out what really is better :)

Best regards
Try to play my Game: -->BlackGalaxy<--
User avatar
default0
 
Posts: 115
Joined: February 2nd, 2010, 6:46 pm
Location: Germany

Re: Measuring Traffic

Postby TobiasW » December 30th, 2010, 2:51 pm

I see. Thanks for explaining, good luck!
User avatar
TobiasW
 
Posts: 59
Joined: August 29th, 2010, 12:31 am


Return to C#



cron