首页 | 本学科首页   官方微博 | 高级检索  
     检索      

用套接字实现客户机时钟的自动设置
引用本文:姚若侠.用套接字实现客户机时钟的自动设置[J].宝鸡文理学院学报(自然科学版),2001,21(1):55-58.
作者姓名:姚若侠
作者单位:渭南师范学院 计算机系,
摘    要:分析了网络环境下基于TCP/IP协议的能信应用程序间交互的最主要也是最典型的模式--客户机/服务器模式,并通过一个利用网络编程界面——套按字来实现客户机在启动时向服务器询问系统当前时间的实例程序,阐述了该模式下2个应用程序是如何实现通信的。

关 键 词:客户机  服务器  套接字  TCP/IP协议  网络编程界面  时钟设置  网络程序设计  C/S模式
文章编号:1007-1261(2001)01-0055-04
修稿时间:2000年12月12日

Use socket to carry out the time setting of a client automatically
YAO Ruo-Xia.Use socket to carry out the time setting of a client automatically[J].Journal of Baoji College of Arts and Science(Natural Science Edition),2001,21(1):55-58.
Authors:YAO Ruo-Xia
Abstract:The main and the typical Client/Server mode in which application programes based on TCP/IP to communicate with each other under the network circumstances is analysized.By giving a sample which uses WINSOCK routine to make a Client get current time from a time-server when starting .It expounds in the Client/Server mode two application programes are how to communicate with each other.
Keywords:client  server  socket  TCP/IP
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号