473,473 Members | 1,955 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Using the TCP binding under Vista

Say, is anyone else using WCF under Vista and seeing delays on the order of
7-8 seconds when a WCF client, using the net.TCP binding, establishes a
connection with a non-local service?

I have a service running on one machine and a client running on another.
Both are running Vista on the same intranet using no security (message or
transport). If I turn on tracing and view the log using svctraceviewer, it
appears as though it takes 7-8 seconds between the time the TCP connection is
initiated and the Socket Connection is created.

<TimeCreated SystemTime="2006-11-26T00:07:53.0026996Z" />
<Description>Initiating TCP connection.</Description>

....

<TimeCreated SystemTime="2006-11-26T00:08:00.4182406Z" />
<Description>SocketConnection create</Description>

This happens each time the client object is opened prior to calling the
service.

If I fire up the same client using the same configuration connecting to the
same service under Windows Server 2003 the time between initialization and
connection is a matter of milliseconds.

I've reproduced the delay by running the netTCP binding sample located in
C:\Program Files\Microsoft
SDKs\Windows\v6.0\Samples\WCFSamples\TechnologySam ples\Basic\Binding\Net\Tcp\Default with the client and server on different physical machines.

Anyone have any advice? I've tried competely opening the firewall and
running the client under elevated privs... but the 7-8 second connection
delay still occurs. Is there some additional configuration that needs to
occur under Vista?

The only workaround I've found is to re-use the connection by not
closing/aborting the generated object that extends ClientBase<Tso that the
delay only occurs once -- but, of course, if the channel gets faulted, or
times out resulting in a fault, it starts to become problematic.

Thanks,

--Sean
Nov 26 '06 #1
0 2117

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: salad | last post by:
Due to an earlier posting I read in this newsgroup regarding Office 2007 beta, I downloaded it. After I DL'd it, I got an invitation from MS to get WinVista. I am now wondering if, since both...
7
by: VB Programmer | last post by:
Just wondering if anyone is using Vista with Visual Studio.net 2005 SP1. Are you have any issues? Any advice or does it run fine? I'm thinking of installing Vista on my development machine... ...
56
by: Squishy | last post by:
I tried installing my VS2005 Pro on Vista Ultimate 32 bit RTM today and got errors stating that VS2005 was not compatible with Vista. Microsoft......please pull your finger out of my ass and tell...
6
by: j2ee.singh | last post by:
Hi, I'm looking to buy a new laptop primarily to learn & practice .NET and C#. My Question is: Is there any requirement for .NET and C# in terms of the following Operating Systems: -...
0
by: Jack | last post by:
In the following code: for (int port = 10000; port < 10100; port++) { bind( socketID, (SOCKADDR*) &addr, sizeof(addr) ); } socketID is a socket that has already been created. For Windows...
10
by: Jeff | last post by:
This is something I can't test (don't have 2007) and found no definitive answer, but a few conflicting ones. Will a 2003 database work correctly in Access 2007? Don't want to do any design...
0
by: Hassenjee | last post by:
I am having the following error once, I make any pages using Adobe Dreamweaver and asp dot net on IIS 7.0, however when I upload the files on my web server, everything is ok. So it must be...
8
by: moondaddy | last post by:
I'm posting code for a user control ( FunctionConnectorSelector) below which has 3 content controls in it. each content control uses a style from a resource dictionary merged into the app.xaml...
2
by: JS | last post by:
Hi. I am writing a c++ program get the data from mdb file using odbc library. By the way, I couldn't get table list from mdb file. i goolgled it up little bit, what i found is only using the...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.