3 Replies - 640 Views - Last Post: 12 September 2012 - 07:17 AM Rate Topic: -----

#1 scienalc  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 26
  • Joined: 22-July 11

Size of messages in a WCF client-server environment

Posted 12 September 2012 - 06:53 AM

Hi guys,

I need a way to find out the size of the messages a WCF client-server environment is exchanging. E.g. if a 8 byte value is returned over the network as an operation result, I need a way to know how much did the client effectively receive - the overhead of the communication.

Is there a way to get this done?

My first though was to make something like an port listener/interceptor and watch the client port, but since I have never implemented anything like it, some guidelines would be appreciated.


Thanks a lot

Is This A Good Question/Topic? 0
  • +

Replies To: Size of messages in a WCF client-server environment

#2 tlhIn`toq  Icon User is offline

  • Xamarin Cert. Dev.
  • member icon

Reputation: 6507
  • View blog
  • Posts: 14,379
  • Joined: 02-June 10

Re: Size of messages in a WCF client-server environment

Posted 12 September 2012 - 06:57 AM

We won't help build 'intercepters' or programs that spy on communications from other programs.
Was This Post Helpful? 0
  • +
  • -

#3 eclipsed4utoo  Icon User is offline

  • Not Your Ordinary Programmer
  • member icon

Reputation: 1533
  • View blog
  • Posts: 5,972
  • Joined: 21-March 08

Re: Size of messages in a WCF client-server environment

Posted 12 September 2012 - 07:15 AM

I am opening this back up. While the OP's suggestion of a port listener is not something we will help with, his request is valid.

This is supported in WCF. No need to write a second application to do it.

http://devlicio.us/b...ssage-size.aspx
Was This Post Helpful? 0
  • +
  • -

#4 baavgai  Icon User is offline

  • Dreaming Coder
  • member icon


Reputation: 6996
  • View blog
  • Posts: 14,635
  • Joined: 16-October 07

Re: Size of messages in a WCF client-server environment

Posted 12 September 2012 - 07:17 AM

Why don't you just call the service?
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1