Java has become a confusing world. Five years ago, there were few decisions to make once you started programming in Java—you used AWT for graphical user interfaces, Sockets for network programming, and hacked together everything else you needed. Since then, though, the APIs available for the Java language have grown, and grown. . . and grown. Now you can dabble in Swing, servlets, Enterprise JavaBeans (EJB), JavaMail, and more. Additionally, there are now packages of APIs, like the Java 2 Micro Edition (J2ME) and Java 2 Enterprise Edition (J2EE). While these packages seem to be nicely wrapped bundles of useful APIs, they don t help the average developer figure out how to piece together the APIs contained in these packages. Though it s simple to find documentation on the individual APIs, getting the "big picture" is difficult, at best. One of the most interesting, but difficult, aspects of Java today is building Java enterprise applications using the J2EE package.
標(biāo)簽: confusing decisions become world
上傳時(shí)間: 2013-12-30
上傳用戶(hù):haoxiyizhong
Linux socket programming delves into many particulars of network programming. It is organized into five specific parts: network programming from the client perspective, The Server Perspective and Load Control, Socket objects, advanced Sockets.
標(biāo)簽: programming into particulars organized
上傳時(shí)間: 2014-01-19
上傳用戶(hù):xjz632
在Windows下的各種網(wǎng)絡(luò)編程接口中,Windows Sockets脫穎而出,越來(lái)越得到大家的重視,這是因?yàn)閃indows Sockets規(guī)范是一套開(kāi)放的、支持多種協(xié)議的Windows下的網(wǎng)絡(luò)編程接口。從1991年的1.0版到1995年的2.0.8版,經(jīng)過(guò)不斷完善并在Intel、Microsoft、Sun、SGI、Informix、Novell等公司的全力支持下,已成為Windows網(wǎng)絡(luò)編程的事實(shí)上的標(biāo)準(zhǔn)。 在作者利用Windows Sockets規(guī)范進(jìn)行應(yīng)用開(kāi)發(fā)的過(guò)程中,發(fā)現(xiàn)這方面的資料很少,特別是缺乏一本全面而實(shí)用的專(zhuān)著。為了使廣大用戶(hù)能夠充分理解和應(yīng)用這套規(guī)范,我們編寫(xiě)了這本書(shū)。本書(shū)不但對(duì)Windows Sockets 1.1及2.0規(guī)范作了較為詳盡的介紹,還結(jié)合了作者的實(shí)際工作,給出了具有實(shí)際應(yīng)用價(jià)值的程序?qū)嵗?/p>
標(biāo)簽: Windows 網(wǎng)絡(luò)編程 接口
上傳時(shí)間: 2014-01-15
上傳用戶(hù):z754970244
一、實(shí)現(xiàn) Sniffer 的基本功能。 Sniffer 是一種用于監(jiān)測(cè)網(wǎng)絡(luò)性能、使用情況的工具。 能夠指定需要偵聽(tīng)的網(wǎng)卡(考慮一臺(tái)機(jī)器上多張網(wǎng)卡的情況) 能夠偵聽(tīng)所有進(jìn)出本主機(jī)的數(shù)據(jù)包,解析顯示數(shù)據(jù)包( ICMP 、 IP 、 TCP 、 UDP 等)各個(gè)字段。比如,對(duì) IP 頭而言,需要顯示 版本、頭長(zhǎng)度、服務(wù)類(lèi)型、數(shù)據(jù)包長(zhǎng)度、標(biāo)識(shí)、 DF/MF 標(biāo)志、段內(nèi)偏移、生存期、協(xié)議類(lèi)型、源目的 IP 地址、選項(xiàng)內(nèi)容、數(shù)據(jù)內(nèi)容。要求顯示數(shù)據(jù)的實(shí)際含義(例如用 ASCII 表示); 能夠偵聽(tīng)來(lái)源于指定 IP 地址的數(shù)據(jù)包,能夠偵聽(tīng)指定目的 IP 地址的數(shù)據(jù)包,顯示接收到的 TCP 和 UDP 數(shù)據(jù)包的全部實(shí)際內(nèi)容。需要考慮一個(gè) TCP 或 UDP 包劃分為多個(gè) IP 包傳輸?shù)那闆r; 能夠根據(jù)指定的協(xié)議類(lèi)型來(lái)過(guò)慮包,例如,只偵聽(tīng) ICMP 包,或只偵聽(tīng) ICMP 和 UDP 包。 功能驗(yàn)證手段:在運(yùn)行 Sniffer 的同時(shí),執(zhí)行標(biāo)準(zhǔn)的 Ping 、 Telnet 和瀏覽網(wǎng)頁(yè)等操作,檢查 Sniffier 能否返回預(yù)期的結(jié)果。 Windows 平臺(tái)上可以用 winpcap 類(lèi)庫(kù);在 linux 平臺(tái)上可以使用 libpcap 類(lèi)庫(kù)。也可以調(diào)用 Sockets 等有關(guān)的網(wǎng)絡(luò)類(lèi)庫(kù)。
標(biāo)簽: Sniffer 61548 網(wǎng)卡 監(jiān)測(cè)網(wǎng)絡(luò)
上傳時(shí)間: 2017-09-09
上傳用戶(hù):siguazgb
openssl源碼 The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS) protocols as well as a full-strength general purpose cryptography library. The project is managed by a worldwide community of volunteers that use the Internet to communicate, plan, and develop the OpenSSL toolkit and its related documentation.
標(biāo)簽: ssl、openssl、網(wǎng)絡(luò)、安全
上傳時(shí)間: 2015-02-26
上傳用戶(hù):cjm3345
Molex SD Memory Card Sockets datasheet,包含尺寸信息,PCB PATTERN LAYOUT
標(biāo)簽: molex
上傳時(shí)間: 2022-01-30
上傳用戶(hù):shjgzh
學(xué)習(xí)本章要達(dá)到的目標(biāo):口1.理解 Linux內(nèi)核編譯選項(xiàng)的含義口2.學(xué)會(huì)根據(jù)不同的硬件配置裁減定制內(nèi)核;口3.理解內(nèi)核編譯過(guò)程中每一步的功能,并編譯 Linux2.630內(nèi)核。需要去重新編譯 Linux內(nèi)核口增加操作系統(tǒng)對(duì)新的硬件設(shè)備的支持口增加內(nèi)核新的功能口對(duì)內(nèi)核代碼或內(nèi)核配置進(jìn)行優(yōu)化時(shí)Prompt for development and/or incomplete code/drivers口顯示處于開(kāi)發(fā)調(diào)試中或尚未完善的代碼或驅(qū)口選中:如果是測(cè)試人員或者開(kāi)發(fā)者;口不選:其他情況Local version append to kerne release口追加本地版本號(hào)口使用命令“uname-a”進(jìn)行查看。POSIX Message Queues口 POSIX消息隊(duì)列的支持,這是 POSIX進(jìn)程間通信的一部分BSD Process Accounting口將進(jìn)程的統(tǒng)計(jì)信息寫(xiě)入文件口信息通常包括建立時(shí)間、所有者、命令名稱(chēng)、內(nèi)存使用、控制終端等,這個(gè)選項(xiàng)一般是選擇的。Enable loadable module support口使能可加載模塊支持口如果使能此選項(xiàng)則可以通過(guò)"makemodules_insta"把內(nèi)核模塊安裝在/lib/modules/中Kernel support for ELF binaries口內(nèi)核對(duì)ELF文件格式的支持口ELF是開(kāi)放平臺(tái)下最常用的二進(jìn)制文件格式支持動(dòng)態(tài)連接,支持不同的硬件平臺(tái)Kernel support for a out and ECOFF binaries口早期UNIX系統(tǒng)的可執(zhí)行文件格式,目前已經(jīng)被ELF格式取代Unix domain Sockets口本機(jī)高效率的 Socket口僅能運(yùn)行在本機(jī)上的高效率的 Socket,簡(jiǎn)稱(chēng) Unix socket。口很多進(jìn)程使用為這種機(jī)制在操作系統(tǒng)內(nèi)部進(jìn)行進(jìn)程間通信,例如 X Window和 syslog等TCP/IP networking口TcP/IP網(wǎng)絡(luò)協(xié)議的支持
標(biāo)簽: linux
上傳時(shí)間: 2022-03-29
上傳用戶(hù):kingwide
The GL823K integrates a high speed 8051 microprocessor and a high efficiency hardware engine for the best data transfer performance between USB and flash card interfaces. Its pin assignment design fits to card Sockets to provide easier PCB layout. Inside the chip, it integrates 5V to 3.3V regulator, 3.3V to 1.8V regulator and power MOSFETs and it enables the function of on-chip clock source (OCCS) which means no external 12MHz XTAL is needed and that effectively reduces the total BOM cost.
上傳時(shí)間: 2022-04-27
上傳用戶(hù):qdxqdxqdxqdx
Lwip協(xié)議棧的實(shí)現(xiàn)目的,無(wú)非是要上層用來(lái)實(shí)現(xiàn)app的socket編程。好,我們就從socket開(kāi)始。為了兼容性,lwip的socket應(yīng)該也是提供標(biāo)準(zhǔn)的socket接口函數(shù),恩,沒(méi)錯(cuò),在src\inc lude\lwip\socket.h文件中可以看到下面的宏定義:#if LWIP COMPAT Sockets#define accept(a,b,c)Iwip accept(a,b,c)#define bind(a,b,c)Iwip bind(a,b,c)#define shutdown(a,b)Iwip shutdown(a,b)#define closesocket(s)Iwip close(s)好,這個(gè)結(jié)構(gòu)先不管它,接著看下get socket函數(shù)的實(shí)現(xiàn)【也是在src\api\socket.c文件中】,在這里我們看到這樣一條語(yǔ)句sock =&Sockets[s];很明顯,返回值也是這個(gè)sock它是根據(jù)傳進(jìn)來(lái)的序列號(hào)在Sockets數(shù)組中找到對(duì)應(yīng)的元素并返回該元素的地址。好了,那么這個(gè)Sockets數(shù)組是在哪里被賦值了這些元素的呢?進(jìn)行到這里似乎應(yīng)該從標(biāo)準(zhǔn)的socket編程的開(kāi)始,也就是socket函數(shù)講起,那我們就順便看一下。它對(duì)應(yīng)的實(shí)際實(shí)現(xiàn)是下面這個(gè)函數(shù)Int Iwip socket(int domain,int type,int protocol)【src\api\socket.c】這個(gè)函數(shù)根據(jù)不同的協(xié)議類(lèi)型,也就是函數(shù)中的type參數(shù),創(chuàng)建了一個(gè)netconn結(jié)構(gòu)體的指針,接著就是用這個(gè)指針作為參數(shù)調(diào)用了alloc socket函數(shù),下面具體看下這個(gè)函數(shù)的實(shí)現(xiàn)
標(biāo)簽: lwip 底層結(jié)構(gòu)
上傳時(shí)間: 2022-06-19
上傳用戶(hù):aben
蟲(chóng)蟲(chóng)下載站版權(quán)所有 京ICP備2021023401號(hào)-1