UDP Broadcasting

One of the great strengths of UDP (User Datagram Protocol) is broadcasting. This feature allows a single sent packet (datagram) to be to received by multiple peers on the same network. The alternative would be an independent send for each desired destination. The following scenarios are several examples when you might consider using UDP broadcasts: […]

Continue Reading »

Using Encryption

NetworkComms.Net makes it really easy to add pre-shared key (PSK) encryption to secure your data transmissions.  In this tutorial we will demonstrate how just 4 extra lines of code are required  to enable PSK encryption on a connection. Some considerations that you should also take when using PSK encryption will also be discussed. Server Side If you […]

Continue Reading »

Exception Handling

Networking by its very nature is asynchronous, i.e. almost anything can happen in any order at any time. This was one of the primary difficulties we have attempted to simplify when writing our network library. We have attempted to keep our network library as transparent as possible when it comes to errors and the aim […]

Continue Reading »

C# Network Library

The motivation behind NetworkComms.Net was to create a fully featured C# network library with which network functionality could be easily added to any application, from .net 2 up to .net 4.5 (Mono, Unity3d, iOS, Android, WinRT/Windows Store and Windows Phone 8 also supported). We also wanted to require little to no knowledge of networking to make things […]

Continue Reading »

Version 2.2.0 Released

We are very happy to announce the next release of our C# network library, version 2.2.0. The big push as part of this release was to support all .net platforms including windows phone 8. The summary of changes are as follows: Extended platform support, .Net 2, .Net 3.5, .Net 4, .Net 4.5, Windows Phone 8 […]

Continue Reading »

Creating A WPF Chat Client Server Application

Note: This tutorial is fairly extensive, if you are after something shorter please also see our Getting Started and How To Create a Client Server Application In Minutes tutorials. Note2: This example is included, and has been significantly extended to demonstrate further features, in the examples bundle included in the package downloads. Before we get started ensure you have […]

Continue Reading »

Version 2.1.0 Released

We’ve been busy behind the scenes making sure our C# network library is as rock solid as we can make it. To that end we are happy to announce the release of version 2.1.0. We have made the following changes: Changed from log4net to NLog for the purposes of logging. We are looking forward to the […]

Continue Reading »