Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Networking   (RSS)

Trusting IP Addresses

How do I find the address of a client connection to make a trust decision? Don't base security decisions on the perceived client address. Any address that we have comes from the underlying socket implementation and could be spoofed. The data that the

Transaction Header Magic

Simplicity is elusive. A few weeks ago I learned that part of transaction flow, propagating information about the source machine between the client and server, is more complicated than I thought. It's not that the details were inherently complicated but
Posted by Nicholas Allen | 1 Comments
Filed under: ,

Network Monitor 3.2 Beta

Earlier this week a new beta release came out for Network Monitor. Although the beta has a variety of new features, the one I'm most interested in is the change to the capture engine to reduce the number of dropped frames. I've had problems in the past

Tracing Network Calls

Many common networking problems can be diagnosed by tracing System.Net events. This is often much easier than setting up packet captures or other software, particularly if you're working on a production machine. Since tracing is a part of the framework,
Posted by Nicholas Allen | 2 Comments
Filed under:

TCP Throttling

As I mentioned on the 30th anniversary of IP , an early and fundamental split was made in TCP to distinguish point-to-point messaging from end-to-end messaging. The split is based on a philosophy that the communication endpoints should be in control and
Posted by Nicholas Allen | 1 Comments
Filed under: , ,

Get a Real XML Parser

Today's post is more observational than informational. Enjoy. It's sometimes possible to write XML without having an XML library. If your XML documents are sufficiently similar and templated, then you can craft validly formed XML through little more than
Posted by Nicholas Allen | 1 Comments
Filed under: ,

25 Years of TCP/IP on the Internet

On January 1st, 1983 the ARPANET officially switched over from using NCP (Network Control Protocol) to TCP/IP (Transmission Control Protocol over Internet Protocol). This followed a year where the ARPANET supported a mix of NCP and TCP/IP machines using
Posted by Nicholas Allen | 1 Comments
Filed under: ,

Cleaning up Async

There needs to be some concept of cleanup that takes place when an asynchronous request can't be completed. For example, when a service is shut down or a socket is closed you know that any asynchronous operation waiting on that resource will never get
Posted by Nicholas Allen | 1 Comments
Filed under: ,

Concurrent Channel Performance

Being thread-safe is different than being concurrent. The channel interfaces are thread-safe so that multiple callers can use them at the same time without getting garbled messages. However, if multiple callers try to send messages on a single channel

TCP Keep Alive

How do I detect when the other side of a TCP connection has gone away? Does TCP keep-alive take care of this for me? Although we take it for granted that change can be quickly detected for closely connected components, it turns out to be surprisingly

Network Monitor

Exciting developments in the world of network traffic capture and protocol analysis. Microsoft Network Monitor has a new companion program that lets you take network captures without having to install any software ahead of time. It even runs off of a

Sticky Sessions

How can I use reliable messaging together with a load balancer? The point of reliable messaging is to help ensure that messages get from one place to another. This means that the protocol notices when messages that were expected to be delivered go missing.

Slow Proxy Discovery

The initial connection to a web service is always going to take some time to complete. If you've been reading for a while, then you know that calling Open on the proxy client before the first call is one way to get the initial connection expense out of

Just a Bit of Caching

Does WCF ever cache the DNS lookup for a service address? How do I clear this cache? There is just a tiny amount of caching that I know about. The TCP and MSMQ transports use a shared cache for recently used addresses. I think for MSMQ that this is only
Posted by Nicholas Allen | 1 Comments
Filed under: , ,

Keeping Connections Open in IIS

My web service needs to periodically broadcast messages to clients. The service is an Internet-facing application hosted inside of IIS. What's the best way to do this? The big limitation in this scenario is that your clients might be behind a firewall
More Posts Next page »
 
Page view tracker