Server: using System; using System.Collections.Generic; using System.Diagnostics; using System.Text; using Spider.Network; namespace Spider.Server { class Program { static void Main(string[] args) { ServerConfig config=new ServerConfig() { BufferSize…