Adding Network Functionality To Any .Net Application in 3 Lines of Code
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 »How To Create A Client Server Application In Minutes
Are you trying to develop a client server application but are coming up against all sorts of problems? We certainly did and that’s why we developed NetworkComms.Net. You can follow this quick tutorial to create a client server application in just several minutes. If you are looking for something a little more advanced please also […]
Continue Reading »Back to the ‘open source’
As of today NetworkComms.Net is being made available under the Apache License v2. We don’t have as much time as we once did to support NetworkComms.Net and we want to open up the project as much as possible so that everyone can benefit from it. If you have any questions or comments regarding this licensing […]
Continue Reading »Maybe Moving on …
After 5 years of building the best NetworkComms.Net library available we are considering the possibility of moving on to new projects. If we did we want to make sure we leave NetworkComms.Net in the hands of someone who is willing to support it further. If this does not happen we will certainly continue to fully […]
Continue Reading »Version 3.0.0 Released
We happily announce the next major release of our network library. It represents significant steps forward in features, flexibility and extensibility. NetworkComms.Net 3.0.0 introduces the following new features: Bluetooth connections (only for .net 3.5 upwards, excluding Windows Phone 8 and WinRT). Unmanaged connections – Interface with other network libraries, embedded controllers, legacy hardware devices, etc. Support for […]
Continue Reading »Version 3.0.0 (Beta2) Released
We happily announce the next major (beta2) release of our network library. It represents significant steps forward in features, flexibility and extensibility. NetworkComms.Net 3.0.0 will introduce the following new features: Bluetooth connections (only for .net 3.5 upwards, excluding Windows Phone 8 and WinRT). Unmanaged connections – Interface with other network libraries, embedded controllers, legacy hardware devices, etc. […]
Continue Reading »StreamSendWrapper
It may be desirable to send partial data held on disk rather than from memory. This can be easily achieved by using the provided wrapper object StreamSendWrapper: //Create a filestream linked to the data on disk FileStream diskData = new FileStream("testfile.dat", FileMode.Open); //Wrap the filestream in a thread safe stream which enables // thread safe […]
Continue Reading »Multiple Adapter Support
NetworkComms.Net’s functionality is totally customisable for a general selection of network adaptors. Multiple adaptors can be included when listening for incoming connections by specifying IPAddress.Any for the desiredLocalEndPoint parameter, i.e. //Will listen for new TCP connections on all available adaptors //using a randomly selected port. Connection.StartListening(ConnectionType.TCP, new IPEndPoint(IPAddress.Any, 0)); //Will listen for new UDP connection on […]
Continue Reading »Send Receive Options
A large number of methods, such as Connection.SendObject and NetworkComms.AppendGlobalIncomingPacketHandler, take an optional SendReceiveOptions object parameter. SendReceiveOptions objects contain all of the options required to modify the sending and receiving of data. Among other features, which we introduce below, it primarily allows you to customise the serialisation, and using the nomenclature of data processing, steps such as […]
Continue Reading »TCP & UDP Connections
NetworkComms.Net seamlessly supports both TCP and UDP IP transport protocols. An extensive discussion of scenarios where each type might be preferable can be found here. You can easily choose between the different transport protocols when creating connections: //Create a connectionInfo object ConnectionInfo connInfo = new ConnectionInfo("192.168.0.1", 10000); //Create a new TCP connection using default options //A […]
Continue Reading »Alternatives To WCF
NetworkComms.Net is the easiest and most intuitive alternative to WCF (Windows Communication Framework). Click here for a full list of features. A lot of people ask us why they should choose NetworkComms.Net over WCF and the simplest answer is that it’s not a fair comparison, although NetworkComms.Net is still the better choice. A more valid […]
Continue Reading »