正在加载图片...
(1)Iterative, Connectionless Server Algorithm 1. Create a datagram(udP) socket and bind to the well-known address for the service being offered 2. Repeatedly receive the next request from a client, formulate a response and send a reply back to the client according to the application protocol It is the most common form of connectionless server used especially for services that require a trivial amount of processing for each request E . Xample http://www.comp.hkbu.edu.hk/-comp2330/example/timeudpsrv.c http://www.comp.hkbu.edu.hk/-comp2330/example/udpechosrv01.c 1212 (1) Iterative, Connectionless Server Algorithm 1. Create a datagram (UDP) socket and bind to the well-known address for the service being offered. 2. Repeatedly receive the next request from a client, formulate a response, and send a reply back to the client according to the application protocol. It is the most common form of connectionless server, used especially for services that require a trivial amount of processing for each request. Example: http://www.comp.hkbu.edu.hk/~comp2330/example/timeudpsrv.c http://www.comp.hkbu.edu.hk/~comp2330/example/udpechosrv01.c
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有