36

网络编程解决黏包现象-PythonAV的博客

 5 years ago
source link: http://blog.51cto.com/14068986/2319955
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
个人感悟:首先我觉的要想学好一门语言不论是是什么语言:java,C,python,PHP,都要弄明白网络请求与响应,过程,osi模型等,我觉的这个最基础的,但是今天我需要解决的是网络交互时发生的"黏包"问题,行了不啰嗦了让我们进入正题吧。黏包现象让我们基于tcp先制作一个远程执行命令的程序(命令ls-l;lllllll;pwd)这块我们需要注意下res=subprocess.P

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK