2021-09-23

WARNING: This article may be obsolete
This post was published in 2021-09-23. Obviously, expired content is less useful to users if it has already pasted its expiration date.
This article is categorized as "Garbage" . It should NEVER be appeared in your search engine's results.

主要内容:web socket, C language


socket的入门介绍+socket,tcp,http三者之间的区别和原理: https://zhuanlan.zhihu.com/p/61710107


最简单的gcc编译:

$ gcc hello.c -o hello

$ ./hello

简单的、能直接编译运行的示范程序

http://c.biancheng.net/cpp/html/3030.html

https://www.cnblogs.com/liushui-sky/p/5609535.html 解释很详细,但代码比较零散

https://stackoverflow.com/questions/14373715/why-does-printf-not-work-in-socket-programming 意外发现了一个代码整洁的示范

https://www.cnblogs.com/leezheng/p/8030011.html 有关socketUDP的示范代码

🔗 [GitHub - rqycpp/socket: 《Linux/UNIX网络编程》习题答案&重点归纳] https://github.com/rqycpp/socket


socket相关的代码里,printf()结果出不来的解决方法:https://stackoverflow.com/questions/14373715/why-does-printf-not-work-in-socket-programming



 Last Modified in 2021-11-07 

Leave a Comment Anonymous comment is allowed / 允许匿名评论