Advertisement
7_2009-2012 Complete Applications #239477

Sockets - Client / Server / Silverlight

This is a complete solution showing how to use multi-threaded, asynchronous sockets. It contains the following: - Server socket that can listen on multiple ports - Client socket that can send entered messages, messages from a file, and keep alive messages - Client socket can stress test the connecting by sending messages at a certain interval - Sockets can detect connection timeouts, and reconnect automatically - Solution includes a Silverlight 3, web-based client that can receive socket messages that are broadcase from the Server socket The Socket class has been enhanced in the .Net Framework 3.5 runtime for use by applications that use asynchronous network I/O to achieve the highest performance. A series of new classes have been added as part of a set of enhancements to the Socket namespace. These classes provide an alternative asynchronous pattern that can be used by specialized high-performance socket applications. These enhancements were specifically designed for network server applications that require the high-performance. These enhancements include a streamlined CLR thread pool to help multithreaded applications of all kinds. These architectural changes, when combined with socket API changes, improve asynchronous socket I/O throughput up to 70% when a 2nd processor core is available. This solution makes use of the Socket Class enhancements in the .Net Framework 3.5

AI

AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Source Code
original-source
Upload
Original Comments (3)
Recovered from Wayback Machine