Description: 本Linux网络应用程序采用客户-服务器模型,并发型交互。在OSI参考模型的传输层,通过调用TCP套接字(Socket)的各种函数,使服务器和各个客户端之间建立快速可靠的连接,处理客户机发送的数据,实现流量检测与控制。-The Linux web applications in client- server model, and cross-hair. OSI reference model in the transport layer, by calling the TCP socket (Socket) of a variety of functions, so that the server and the client between the fast and reliable connections to deal with the client to send data, the achievement of traffic detection and control. Platform: |
Size: 37888 |
Author:ll |
Hits:
Description: Linux下的tcp和udp的服务器客户端通讯框架类,完整实例含makefile-Linux under the tcp and udp client server communications framework category, complete with examples makefile Platform: |
Size: 48128 |
Author:Janferry |
Hits:
Description: TCP/IP编程的基础--socket
包括C/JAVA TCP/UDP 服务端和客户端
六套代码,供新人学习、老人测试联调用
支持win32 Linux(JAVA版本的需要自己新增JDK)-TCP/IP programming basis- socket including C/JAVA TCP/UDP server and client six sets of code for the new study, elderly test joint call to support win32 Linux (JAVA version of the need to add JDK) Platform: |
Size: 9216 |
Author:冯进荣 |
Hits:
Description: 在Linux/Unix环境下的网络编程,是TCP/IP的网际互联中的ECHO服务。系程序针对TCP客户端,,作用是服务器返回从客户处收到的所有数据-In Linux/Unix network programming environment is the TCP/IP Internet connectivity services in the ECHO. Department procedures for TCP client, is the server returns from the client received all the data Platform: |
Size: 1024 |
Author:杨敏 |
Hits:
Description: here is a C++ code for TCP server and client on linux mechine that listens on a specific port
and then replies back to the client-here is a C++ code for TCP server and client on linux mechine that listens on a specific port
and then replies back to the client Platform: |
Size: 1024 |
Author:Imran |
Hits:
Description: This contains various programs on client server connectivity using TCP and UDP packets. It is executable in linux environment. Platform: |
Size: 14336 |
Author:pratheek19 |
Hits:
Description: tcp客户端服务器程序,直接可以在linux下以两个进程形式运行-tcp client server program, directly in the form of two processes under linux running Platform: |
Size: 2048 |
Author:刘佳楠 |
Hits:
Description: 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使用共享内存来交互
步骤是:shmget->shmat->直接读写--->shmdt shmctl(删除)
可以man
C与D之间使用消息传递进行
msgget-->msgrcv->msgsnd (注意这里的返回值判断发送正确与否 不是发送的字节数)
D使用fork() 创建了一个进程 E
D跟E之间使用无名管道进行交互
E程序中可以使用有名管道 进行通讯。(A<========>B<=========>C<=====>D<======>E
Between the A and the B processes, the process of master socket is passed through the socket of the TCP:
A server side:
Socket -->bind---->listen---->accept send read
B client:
Socket-->connect->read send
Do not understand the ability to man man socket
B and C interact with shared memory
The step is: shmget->shmat-> read and write --->shmdt shmctl directly (delete)
Can man
Message passing between C and D
Msgget-->msgrcv->msgsnd (note that the return value here determines whether to send correctly or not the number of bytes sent)
D uses fork () to create a process E
Interaction between D and E using anonymous pipes
E programs can communicate with famous pipes.) Platform: |
Size: 4096 |
Author:数据包
|
Hits:
Description: 完成了Linux下简单的TCP套接字编程,是一个完整的TCP客户端/服务器实例(The simple TCP socket programming under Linux is completed, which is a complete TCP client / server instance) Platform: |
Size: 18432 |
Author:amr1199 |
Hits:
Description: 此程序可实现windows客户端与client服务器端的文件传输。(This program can achieve Windows client and client server-side file transfer.) Platform: |
Size: 2048 |
Author:xihananhai |
Hits: