本章專門講解編寫成功網(wǎng)絡(luò)應(yīng)用程序時(shí)所需的基本知識(shí)和A P I調(diào)用。通過(guò)上一章的學(xué)習(xí), 大家已知道從Wi n s o c k地址機(jī)和這些機(jī)器上的服務(wù),可以很容易地訪問(wèn)協(xié)議。在這一章里, 我們打算討論如何從網(wǎng)絡(luò)上的一臺(tái)機(jī)器到另一臺(tái)機(jī)器建立連接,以及如何收發(fā)數(shù)據(jù)
標(biāo)簽: 編寫 程序 基本知識(shí) 網(wǎng)絡(luò)應(yīng)用
上傳時(shí)間: 2015-07-08
上傳用戶:gtf1207
Winsock 2服務(wù)提供者接口( Service Provider Interface, SPI)代表著另一端的Wi n s o c k編 程(和Winsock 2API相對(duì)應(yīng))。Wi n s o c k的一端是A P I,另一端則是S P I。
標(biāo)簽: Winsock Interface Provider Service
上傳時(shí)間: 2015-07-08
上傳用戶:yoleeson
本附錄介紹一些新的A P I函數(shù),有了這些函數(shù),便可在自己的計(jì)算機(jī)上對(duì)I P協(xié)議統(tǒng)計(jì)情況 進(jìn)行查詢和管理。它們有助于獲得下面的能力: ■ I p c o n f i g . e x e(或適用于微軟Windows 95的Wi n i p c f g . e x e):顯示I P配置信息,允許釋放 和更新D H C P分配的I P地址。 ■ N e t s t a t . e x e:顯示T C P連接表、U D P監(jiān)聽者表以及I P協(xié)議統(tǒng)計(jì)情況。 ■ R o u t e . e x e:顯示并處理網(wǎng)絡(luò)路由表。 ■ A r p . e x e:顯示并修改供“地址解析協(xié)議”(A R P)使用的I P到物理地址翻譯表。
標(biāo)簽: 函數(shù)
上傳時(shí)間: 2014-01-12
上傳用戶:569342831
工程計(jì)算MATLAB code to calculate the reorthogonalized sine tapers input: N = the length of the time series data to be tapered p = the number of tapers requested I = the gap structure a vector of length N I(t) = 1 if there is data at time t, t=1, ..., N I(t) = 0 if there is a gap at time t output: X = N-by-p vector of the reorthogonalized sine taper
標(biāo)簽: the reorthogonalized calculate MATLAB
上傳時(shí)間: 2013-12-17
上傳用戶:wangyi39
給定n 個(gè)整數(shù)a ,a , ,an 1 2 組成的序列, a n i | |£ ,1 £ i £ n。如果對(duì)于i £ j ,有 0 = å = j k i k a ,則稱序列區(qū)間i i j a , a , , a +1 為一個(gè)零和區(qū)間,相應(yīng)的區(qū)間長(zhǎng)度為j-i+1。
上傳時(shí)間: 2015-07-23
上傳用戶:zhangzhenyu
給定n 個(gè)整數(shù)a ,a , ,an 1 2 組成的序列, a n i | |£ ,1 £ i £ n。如果對(duì)于i £ j ,有 0 = å = j k i k a ,則稱序列區(qū)間i i j a , a , , a +1 為一個(gè)零和區(qū)間,相應(yīng)的區(qū)間長(zhǎng)度為j-i+1。
上傳時(shí)間: 2013-12-21
上傳用戶:偷心的海盜
Hard-decision decoding scheme Codeword length (n) : 31 symbols. Message length (k) : 19 symbols. Error correction capability (t) : 6 symbols One symbol represents 5 bit. Uses GF(2^5) with primitive polynomial p(x) = X^5 X^2 + 1 Generator polynomial, g(x) = a^15 a^21*X + a^6*X^2 + a^15*X^3 + a^25*X^4 + a^17*X^5 + a^18*X^6 + a^30*X^7 + a^20*X^8 + a^23*X^9 + a^27*X^10 + a^24*X^11 + X^12. Note: a = alpha, primitive element in GF(2^5) and a^i is root of g(x) for i = 19, 20, ..., 30. Uses Verilog description with synthesizable RTL modelling. Consists of 5 main blocks: SC (Syndrome Computation), KES (Key Equation Solver), CSEE (Chien Search and Error Evaluator), Controller and FIFO Register.
標(biāo)簽: symbols length Hard-decision Codeword
上傳時(shí)間: 2014-07-08
上傳用戶:曹云鵬
基于事件驅(qū)動(dòng)的串口通訊控件 消息幀數(shù)據(jù)格式: 1 0 A B X X 其中 10 為消息標(biāo)識(shí), AB表示文本長(zhǎng)度,L=A*100+B XX為配位字符,任意 控制幀數(shù)據(jù)格式 0 1 A B M N 其中 01為控制標(biāo)識(shí), AB為請(qǐng)求標(biāo)識(shí) MN為附加標(biāo)識(shí) 11表示請(qǐng)求對(duì)方接收文件,M表示描述字串中文件名子串的長(zhǎng)度 N表示描述字串中文件大小子串的長(zhǎng)度 10通知對(duì)方放棄傳輸 00通知文件傳輸完畢 01請(qǐng)求對(duì)方發(fā)送數(shù)據(jù), MN為10請(qǐng)求發(fā)送下一個(gè) MN為00請(qǐng)求重發(fā) 數(shù)據(jù)幀數(shù)據(jù)格式 0 0 A B M N 其中 00 為數(shù)據(jù)標(biāo)識(shí), AB表示數(shù)據(jù)長(zhǎng)度,L=A*100+B MN為校驗(yàn),M*100+N=A+B
標(biāo)簽: 100 幀 數(shù)據(jù)格式 10
上傳時(shí)間: 2015-10-06
上傳用戶:拔絲土豆
假定已經(jīng)有許多應(yīng)用采用了程序1 - 1 5中所定義的C u r r e n c y類,現(xiàn)在我們想要對(duì)C u r r e n c y類 的描述進(jìn)行修改,使其應(yīng)用頻率最高的兩個(gè)函數(shù)A d d和I n c r e m e n t可以運(yùn)行得更快,從而提高應(yīng) 用程序的執(zhí)行速度。由于用戶僅能通過(guò)p u b l i c部分所提供的接口與C u r r e n c y類進(jìn)行交互,
上傳時(shí)間: 2015-10-11
上傳用戶:BIBI
首先簡(jiǎn)單介紹了GPS 接收機(jī)串口通信的基本概念, 然后通過(guò)實(shí)例詳細(xì)介紹了計(jì)算機(jī)與GPS 接收機(jī)進(jìn)行 數(shù)據(jù)傳輸?shù)膬煞N方法: 一種是使用W in32 A P I 通信函數(shù)的文件讀寫方式 另一種是通過(guò)VC+ + 6. 0 提供的 M SComm 控件實(shí)現(xiàn)。
上傳時(shí)間: 2015-10-23
上傳用戶:xuan‘nian
蟲蟲下載站版權(quán)所有 京ICP備2021023401號(hào)-1