The purpose of this article is to analyse the question of data share and concurrent control in network environment. This paper gives practical methods and an interrupt control routine. 作者分析了网络环境下数据共享与并发控制所出现的问题。研究了在独占状态和共享状态下较好的处理方案,同时给出了一个网络处理中断服务程序的实例,供同行们参考。同时简述了开发和设计网络应用系统的一点体会。 文摘来源 Socket is the interface of TCP/IP protocol transfer layer which is used to access network kernel resources. However, it is difficult for us, especially for those who are not familar with network, to use socket directly as it has so much details. For this reason, we design and develop the socket communication platform on the basis of socket. This platform can be applied to fields of transferring data of image,accessing remote database and so on. Of course, you call also use it to design network application s... TCP/IP协议的传输层提供了SOCKET接口,供用户编程访问网络核心资源。但SOCKET调用参数繁多,使用复杂,不便于用户直接使用,尤其是非网络专业用户。为解决这个问题,,我们在SOCKET接口上开发了一套SOCKET通信平台原语,可应用于图像数据传输、远程数据库的访问等领域,也可以用于开发符合Client/Server模型或PPP模型的网络应用系统。用户可以在自己的程序中调用通信平台,实现异种机、异种操作系统下数据的透明传输,而无需了解SOCKET的具体细节以及数据传输的具体协议。 (责任编辑:laiquliu) |