2008年10月30日 星期四

tethereal

ex:

tethereal -i eth7 host 192.168.5.41 -V > out

2008年10月21日 星期二

AF_UNSPEC

ai_family = AF_UNSPEC;
AF_UNSPEC: for IPv4 & IPv6

2008年10月17日 星期五

accept

#include
#include
int accept(int s, struct sockaddr *addr, socklen_t *addrlen);


return:
If successful, accept() returns a non-negative integer, which is a descriptor of the accepted socket.

2008年10月16日 星期四