利用“原始套接字”(Raw Socket),我們可訪問位于基層的傳輸協(xié)議。本章專門講解如 何運(yùn)用這種原始套接字,來模擬I P的一些實(shí)用工具,比如Tr a c e r o u t e和P i n g程序等等。使用原 始套接字,亦可對(duì)I P頭信息進(jìn)行實(shí)際的操作。本章只關(guān)心I P協(xié)議;至于如何針對(duì)其他協(xié)議使 用原始套接字,我們不打算提及。而且,大多數(shù)協(xié)議(除AT M以外)根本就不支持原始套接 字。所有原始套接字都是使用S O C K _ R AW這個(gè)套接字類型來創(chuàng)建的,而且目前只有Wi n s o c k 2提供了對(duì)它的支持。因此,無論Microsoft Windows CE 還是老版本的Windows 95 (無 Winsock 2升級(jí))均不能利用原始套接字的能力。
上傳時(shí)間: 2015-07-08
上傳用戶:時(shí)代電子小智
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
迄今為止,本書已介紹了可在Microsoft Wi n d o w s操作系統(tǒng)中使用的全部網(wǎng)絡(luò)A P I函數(shù)。 利用這些函數(shù),我們的應(yīng)用程序可通過網(wǎng)絡(luò),建立與其他程序的通信聯(lián)系。在那些討論中, 我們?cè)诤艽蟪潭壬蠈⒅攸c(diǎn)放在七層O S I模型的應(yīng)用層和表示層上面
標(biāo)簽:
上傳時(shí)間: 2015-07-08
上傳用戶:royzhangsz
從一個(gè)隨機(jī)文件讀取256字節(jié)數(shù)據(jù)形成數(shù)據(jù)區(qū)DArea,再應(yīng)用洗牌法所給的方法生成0~255的一個(gè)全排列DTab。試分別寫出"求DArea中全部數(shù)據(jù)經(jīng) (1)以DTab為S-盒; (2)以DTab為P置換
標(biāo)簽: DArea 256 數(shù)據(jù) 隨機(jī)
上傳時(shí)間: 2013-12-22
上傳用戶:libenshu01
BISON-C: A one-dimensional transport and burnup calculation code with consideration of actinides and fission products Auteur(s) / Author(s) CETNAR J. (1) GRONEK P. (1) Affiliation(s) du ou des auteurs / Author(s) Affiliation(s) (1) University of Mining and Metallurgy, Faculty of Physics and Nuclear Techniques, 30 059 Cracow, POLOGNE
標(biāo)簽: one-dimensional consideration calculation and
上傳時(shí)間: 2015-07-17
上傳用戶:royzhangsz
BISON-C: A one-dimensional transport and burnup calculation code with consideration of actinides and fission products Auteur(s) / Author(s) CETNAR J. (1) GRONEK P. (1) Affiliation(s) du ou des auteurs / Author(s) Affiliation(s) (1) University of Mining and Metallurgy, Faculty of Physics and Nuclear Techniques, 30 059 Cracow, POLOGNE
標(biāo)簽: one-dimensional consideration calculation and
上傳時(shí)間: 2015-07-17
上傳用戶:wendy15
contain many examples code for I2c,UART,string ,digital convert, read/write to EEprom in microchip PIC16xx series. and the default compiler is hitech PIC16.
標(biāo)簽: microchip examples contain digital
上傳時(shí)間: 2014-01-04
上傳用戶:xmsmh
簡(jiǎn)化DFA-對(duì)于一確定型自動(dòng)機(jī)M=(K,Σ,Δ,s, F),設(shè)p,q ∈K,若對(duì)于任一字符串w,由p沿w可達(dá)某終點(diǎn)當(dāng)且僅當(dāng)由q沿w可達(dá)某終點(diǎn),則說p,q等價(jià),記為p≡q。而且,≡的一個(gè)等價(jià)類恰好就是狀態(tài)數(shù)最少的確定型自動(dòng)機(jī)的一個(gè)狀態(tài)
標(biāo)簽: DFA 自動(dòng)機(jī)
上傳時(shí)間: 2013-12-23
上傳用戶:yzhl1988
% 該Matlab程序基于牛頓-拉夫遜算法,用于計(jì)算已知導(dǎo)納矩陣、PQ節(jié)點(diǎn)、PV節(jié)點(diǎn)、平衡節(jié)點(diǎn)(UA)的電力網(wǎng)絡(luò)潮流 % U - 各節(jié)點(diǎn)母線電壓 S - 各節(jié)點(diǎn)注入功率 S_net - 電力網(wǎng)絡(luò)總損耗 % PQ_P - 實(shí)算PQ節(jié)點(diǎn)注入有功功率 PQ_Q - 實(shí)算PQ節(jié)點(diǎn)注入無功功率 % delt_PQ_P - 實(shí)算PQ節(jié)點(diǎn)有功功率修正值 delt_PQ_Q -實(shí)算PQ節(jié)點(diǎn)無功功率修正值 % delt_UA_P - 實(shí)平衡節(jié)點(diǎn)有功功率修正值 delt_U_2 - 實(shí)平衡節(jié)點(diǎn)電壓平方修正值 % delt_PQV - 實(shí)算P Q U^2修正值 J - 雅可比矩陣 % e - 電壓實(shí)部 f - 電壓虛部 delt_ef - 電壓實(shí)部與虛部修正值
上傳時(shí)間: 2015-07-23
上傳用戶:王楚楚
工程計(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
蟲蟲下載站版權(quán)所有 京ICP備2021023401號(hào)-1