Location:
Search - linux socket D
Search list
Description: Qtopia编程之道》是一本针对Linux环境下利用C++函数库Qtopia进行嵌入式研发的软件研发人员的入门书。《Qtopia编程之道》融合了笔者在长期的软件研发过程中总结的大量实战经验,以智能移动终端的研发为背景,详细介绍了嵌入式Linux的研发环境和Qtopia的设计架构。
-Qtopia programming of the Road " is a Linux environment for C++ library using Qtopia embedded software R & D personnel R & D primer. " Qtopia Tao of Programming" the author combines the software development process in the long term to sum up a large number of field experience, research and development of smart mobile devices as the background, detailing the development of embedded Linux and Qtopia environment, the design of architecture.
Platform: |
Size: 2794496 |
Author: huangkeqiang |
Hits:
Description: linux下tcp,udp通信库,socket类封装,http类封装,udp类封装,吐血奉献。-Under linux tcp, udp communication library, socket type of packaging, http class encapsulates, udp type of packaging, vomiting dedication.
Platform: |
Size: 185344 |
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: