程序结构:服务器方:socket()->bind()->listen->accept()->recv()/send()->closesocket() 客户机方:socket()->connect()->send()/recv()->closesocket()