Simple socket communication
2016-08-23
0 0 0
no vote
Other
Earn points
Stream sockets (SOCK_STREAM), datagram sockets (SOCK_DGRAM) and raw sockets. 1. streaming sockets to provide connection-oriented, reliable data transmission services, data bytes, in order to send and receive, to ensure no loss in transmission, without redundancy. TCP protocol supports the socket. 2. datagram sockets provide connectionless service, send and receive unordered data, and cannot guarantee the accuracy of data arrive. UDP protocol supports the socket. 3. raw sockets raw sockets are mainly used for some protocols developed, you can compare the underlying operation. It is powerful, but without the above two kinds of sockets are easy to use, General program also involves raw sockets.
c
socket
通信
简单
Related Source Codes
PClite
0
0
no vote
generic embeded FTP Client
0
0
no vote
UDP Test Demo
0
0
no vote
TMS320F28335 DSP transmits data to EEPROM through
0
0
no vote
TMS320F28335 CAN communication source code
0
0
no vote
No comment