计算机网络
文章平均质量分 52
fssssssss
nju
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Win Socket-Raw
// RawSock.cpp : Defines the entry point for the console application. // #define _WINSOCK_DEPRECATED_NO_WARNINGS #include "stdio.h" #include "winsock2.h" #include "ws2tcpip.h" //IP_HDRINCL is here转载 2014-09-09 17:23:09 · 3348 阅读 · 0 评论 -
Linux 下TCP简单通信
//TCP server #include #include #include #include #include #include #include int main() { int fd; int fd1; struct sockaddr_in server_addr; struct sockaddr_in cl原创 2015-03-25 14:20:31 · 577 阅读 · 0 评论 -
Linux下UDP的简单例子
http://blog.sina.com.cn/s/blog_85882089010159bd.html 客户端代码 client.c #include #include #include #include int main(int argc, char **argv) { int sockfd; struct sockaddr_in se原创 2014-08-27 09:51:18 · 1021 阅读 · 0 评论 -
MacOSX 下wireshark 找不到interface
需要管理员权限打开。 >> su >> 。。。。 >> wireshark原创 2015-03-30 11:45:15 · 1880 阅读 · 0 评论 -
bind 返回(Can't assign requested address)
macbook上错误码是49() 我绑定本地ip为255.255.255.255的时候出错(macbook),但是在linux下就正确,两个系统差别还是很大的 解决方式是:只指定port,不要指定addr原创 2016-01-14 18:11:41 · 3104 阅读 · 1 评论
分享