搜索资源列表
tcpMuti
- 基于Tcp的多线程并发服务器,利用fork创建线程,一个服务器端可以对应多个客户端-Tcp-based multi-threaded concurrent server, using fork to create threads, a server-side may correspond to multiple clients
socket-programming
- this file contains socket programming codes using Tcp(transmission control protocol). this file contains a simple Tcp server and Tcp client code, Tcp server handling Tcp client by creating child process using fork(), and Tcp server handling multipl
tcp
- Linux下tcp并发服务器的实现。服务器端监听是否有请求,并循环接受收到的请求,每收到一个请求,fork()一次,通过子进程来完成客户端的请求。-Under Linux tcp achieve concurrent server. Monitor whether the server requests and circulation accept requests received, each receives a request, fork () once, by a child proce
udp
- Linux下udp并发服务器的实现。服务器循环接收客户端的消息,每收到一个消息,fork()一次,通过子进程来完成客户端的消息。与tcp并发不一样,他不必listen()和accept()。-Udp under Linux to achieve concurrent server. Server receives the client' s message loop, each receives a message, fork () once the child process to be
tcpechoserver-fork
- socket programming tcp echo server using fork
tcp_ser
- tcp服务器程序,使用三种不同的方法:fork子进程处理每一个已连接描述符;select处理关注的描述符;poll轮询关注的描述符-tcp server program, using three different methods: fork a child process to handle each connected descr iptor to address the concerns of the descr iptor poll polling concern descr ip
linux进程之间的通讯综合实例
- A<========>B<=========>C<=====>D<======>E A与B进程之间通过TCP的socket传递 主要掌握socket的流程: A服务器端: socket -->bind---->listen---->accept send read B客户端: socket-->connect->read send 不懂的可以man一下 man socket B与C