I. Introduction of Fastsocket Course
. NET Framework Although Microsoft provides a class library socket communication, but there are many things to deal with themselves, such as the TCP protocol needs to deal with subcontracting, packet, sticky packet, maintenance connection list, UDP protocol needs to handle packet loss, chaos, and for multi-connection concurrency, but also to handle multithreading and so on. This session of the sharing course a stupid to everyone comes from GitHub open source socket communication middleware: Fastsocket, the purpose is to get everyone from the cumbersome network programming technology to completely liberate and release.
A stupid just want to quietly learn under the network programming technology socket, will learn the results of direct and flexible application to their own actual projects. All only talk about the concept of knowledge does not combine the course of actual combat drills, are bullying! So this time to share the lesson a stupid don't talk about concept knowledge, only focus on actual combat drills. Don't talk to the monkey. Network programming IOCP model, the program ape picked up the keyboard is three words: "Knock code"!
This course gives you two examples of real-life project demonstrations based on Fastsocket communication components:
1. Client and server-side chat application (ABenNET.FastSocket.AppChat) based on Fastsocket development.
2, the online client monitoring application (ABenNET.FastSocket.AppMonitor) based on Fastsocket development.
If you are interested in this issue of the "C # Network Programming technology Fastsocket Practical Project Walkthrough" Course, then please follow the stupid study together! Needless to say, directly on dry goods, we do not produce dry goods, we are just dry goods porter.
Second, Fastsocket introduction and actual combat projects
2.1. What is Fastsocket?
When Fastsocekt first discovered the open-source communication framework, it was deeply attracted to it. Its elegant writing and simple use is the most value of the stupid; Fastsocket has abstracted network programming so that developers don't have to care about the underlying communication mechanism, but focus on the application-level development effort.
2.2. Fastsocket Advantages
1), with the heartbeat check function.
2), with the disconnection function.
3), support flexible custom communication protocols and communication instructions (Fastsocket built-in command line, binary, thrift Protocol).
Wait a minute......
2.3, Fastsocket online download Address:
Https://github.com/ihaoqihao/FastSocket.Net
2.4, actual combat Project Walkthrough Course appchat, Appmonitor actual combat project
Detailed examples of the course as well as the Appchat, Appmonitor Demo sample app, a dumb free offer for everyone to watch and download online.
Note: the. NET freamwork 4.5 Framework needs to be installed
Appchat Combat Project
Appmonitor Combat Project
Three,appchat actual combat drill source code online demonstration and interpretation
appchat Practical Walkthrough Source code
Four,appmonitor actual combat drill Source code online demonstration and interpretation