I was wondering what would be good application (server&client) to build using Asynchronous sockets?
Somethin开发者_高级运维g other than chat or file transfer.
A multiplayer game is always fun to make. Any client-server application can be made using asynchronous sockets though, in fact under the hood there is no difference in the type of socket used for both asynchronous and synchronous, it's just a different way .NET has implemented the classes around them.
Big file transfer. Create a robust solution to transfer >1GB files over a network.
Keep the total amount of memory used low. Keep the total transfer speed close to theoretical speed limits.
Enjoy some great programming problems.
Now do the same with really small files and try to get close to theoretical speed limits.
Now use this code to create automatic testing of the sockets.
After doing this you should be a fluent socket programmer.
A program which shows the quality of a network connection
精彩评论