![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Socket
YapingXin
航天/航空/军工装备行业,航电系统、遥测/测发控系统、系统故障诊断、预测与健康管理(PHM)高级系统架构师。
展开
-
Socket tips: 允许socket发送UDP Broadcast
如果创建一个UDP Socket:原创 2014-06-23 15:47:51 · 5601 阅读 · 0 评论 -
Socket tips: UDP Echo service - Server code
#include #include #include #include #include #include #include #define BUFFER_LENGTH 1024void ReverseMessage(char buffer[], ssize_t receivedBytesCount);void ExitWithMessage(const int error原创 2014-06-22 01:49:37 · 5409 阅读 · 0 评论 -
Socket tips: UDP Echo service - Client code
#include #include #include #include #include #include #include #define BUFFER_LENGTH 1024void ExitWithMessage(const int errorCode, const char * errorMessage){ fprintf(stderr, "\n\nError原创 2014-06-22 01:50:54 · 5408 阅读 · 0 评论