![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Network Programming
jsc0218
I am a PhD student in University of Waterloo. This Blog is some notes about technical details I met.
展开
-
非阻塞IO和阻塞IO
非阻塞IO 和阻塞IO: 在网络编程中对于一个网络句柄会遇到阻塞IO 和非阻塞IO 的概念, 这里对于这两种socket 先做一下说明: 基本概念: 阻塞IO:: socket 的阻塞模式意味着必须要做完IO 操作(包括错误)才会转载 2014-03-02 20:17:59 · 531 阅读 · 0 评论 -
基于Linux下的TCP编程
基于Linux的TCP网络编程一.Linux下TCP编程框架TCP网络编程的流程包含服务器和客户端两种模式。服务器模式创建一个服务程序,等待客户端用户的连接,接收到用户的连接请求后,根据用户的请求进行处理;客户端模式则根据目的服务器的地址和端口进行连接,向服务器发送请求并对服务器的响应进行数据处理。1.服务器端程序包括Ø 建立套接字(转载 2014-03-02 16:48:39 · 753 阅读 · 0 评论 -
Big-endian and little-endian
Big-endian is used in the network transmission, while Little-endian is popular in x-86 systems. Two pictures follow.Possible advantages for using differnt policies:Big-endian: good for transmi原创 2014-03-02 23:39:08 · 929 阅读 · 0 评论 -
Several notes on Redis
These notes on Redis are based on its beta version. One could seeits source code on my GitHub, where I havetidied the original codes in order to make the codes more easily readable withonly around 3原创 2014-03-15 12:46:02 · 920 阅读 · 0 评论