/----------------------------------------------------------------------------------/ You can get the source code for all the benchmarks via anonymous cvs: % cvs -d:pserver:cvs@cvs.fefe.de:/cvs -z9 co libowfat % cvs -d:pserver:cvs@cvs.fefe.de:/cvs -z9 co gatling My web page is at http://www.fefe.de/. You can email me at [email]felix-linuxkongress@fefe.de[/email]. /--------------------------...
by wyezl - C/C++ - 2006-09-12 18:14:13 阅读(4875) 回复(17)
最近一直没更新博客,不过没有停止阅读UNP,R.S.的这本书太经典了,洋洋洒洒1000多页把网络编程的核心写的有条有理,张弛有度,作者始终把握着读者的思路,整本书前后呼应,一气呵成,不愧为大师级人物! 所以我有个想法,打算先把这本书读一遍,除去一些高级部分,IPv6,广播多播等,多编程多体会切实掌握基础。 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/52962/showart_1121095.html
有了unix系统编程的基础和计算机网络的基本知识(此处包括R.S.的《tcp/ip详解》和D.C.的《用tcp/ip进行网际互联》),学习unix网络编程相对容易了。 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/52962/showart_1102533.html
Hello, one and all! This is my little how-to guide on network programming using Internet sockets, or "sockets programming", for those of you who prefer it. The sockets API, though started by the Berkeley folk, has been ported to many many platforms, including Unix, Linux, and even Windows. Unfortunately, it can be a little, um, "much" to digest the API, but as long as you know some C or C++, t...
network programming in Java Package: import java.net.*; Can use these classes to (a) communicate with any server, (b) construct your own server. Java network programming reference Java 2 Platform, Standard Edition networking tutorial docs networking API java.net package The Java Developers Almanac java.net examples Example - Find IP address Find numeric (IP) host ad...
programming with Libpcap - Sniffing the network From Our Own Application Luis Martin Garcia Nowadays,computer newworks are usually large and diverse systems that communicate using a wide variety of protocols.This complexity created the need for more sophisticated tools to monitor and troubleshoot network traffic.Today,one of the critical tools in any network administrator toolbox is the sniff...
from http://blog.gslin.net 在課堂上學過 Unix network programming 後,我們知道在處理多 User 時會有幾種方法 解決: 1. 一個新的 Connection 進來,用 fork() 產生一個 Process 處理。 2. 一個新的 Connection 進來,用 pthread_create() 產生一個 Thread 處理。 3. 一個新的 Connection 進來,丟入 Event-based Array,由 Main Process 以 Nonblocking 的方式處理所有的 I/O。 這三種方法當然也都有各自的缺點: ...
In the Ancient Times, there were "classes" of subnets, where the first one, two, or three bytes of the address was the network part. To remedy this, The Powers That Be allowed for the netmask to be an arbitrary number of bits, not just 8, 16, or 24. So you might have a netmask of, say 255.255.255.252, which is 30 bits of network, and 2 bits of host allowing for four hosts on the network. (No...
文件: Python+Twisted+network+programming+Essentials.chm 大小: 1279KB 下载: 下载 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/23783/showart_707118.html
poll() Test for events on multiple sockets simultaneously Prototypes #include int poll(struct pollfd *ufds, unsigned int nfds, int timeout); Description This function is very similar to select() in that they both watch sets of file descriptors for events, such as incoming data ready to recv(), socket ready to send() data to, out-of-band data ready to recv(), errors, etc. The basic idea is ...