最近一直在关注socket.io这个东西,看到一篇博客去仔细分析。引自:http://www.letseehere.com/reverse-proxy-web-sockets If you’re using Socket.io and want to reverse proxy your web socket connections, you’ll quickly find it’s somewhat dif…
int setsockopt( SOCKET s, int level, int optname, const char* optval, int optlen);
对于这个函数的level级别的参数到底有哪些, optname ,对应的又有哪些,一直很纳闷,终于今天抽空看了下msdn,leve ---- opt…
使用T C P / I P协议的应用程序通常采用两种应用编程接口(A P I):s o c k e t和T L I(运输层接)。前者有时称作“Berkeley socket”,表明它是从伯克利版发展而来的。后者起初是由AT & T开发的ÿ…