http://scotdoyle.com/python-epoll-howto.htmlLine 1: The select module contains the epoll functionality.Line 13: Since sockets are blocking by default,...
分类:
编程语言 时间:
2014-12-24 11:40:43
阅读次数:
194
背景介绍一 tcp简介 1 tcp 实现网络中点对点的传输 2 传输是通过ports和sockets ports提供了不同类型的传输(例如 http的port是80) 1)sockets可以绑定在特定端口上,并且提供传输功能 2)一个port可以连接多个socket二 URL简...
分类:
编程语言 时间:
2014-12-18 09:07:58
阅读次数:
281
加速网络应用程序的 4 种方法 使用 Sockets API,我们可以开发客户机和服务器应用程序,它们可以在本地网络上进行通信,也可以通过 Internet 在全球范围内进行通信。与其他 API 一样,您可以通过一些方法使用 So...
分类:
系统相关 时间:
2014-12-16 11:56:13
阅读次数:
356
在多个客户端与服务器端建立连接后,socket.io()服务器具有一个sockets属性,属性值为所有与客户端建立连接的socket对象.可以利用该对象的send方法或emit方法向所有客户端广播消息.io.sockets.send("user commected);io.socket.emit("...
分类:
其他好文 时间:
2014-12-13 17:53:43
阅读次数:
154
Sockets tcp/ip communication libraryC++ Sockets LibraryThis is a GPL licensed C++ class library wrapping the berkeley sockets C API, and therefore wor...
分类:
其他好文 时间:
2014-12-12 18:51:41
阅读次数:
246
http://www.ttlsa.com/linux-command/ss-replace-netstat/ ss命令用于显示socket状态. 他可以显示PACKET sockets, TCP sockets, UDP sockets, DCCP sockets, RAW sockets, Unix domain sockets等等统计. 它比其他...
分类:
系统相关 时间:
2014-12-08 19:52:44
阅读次数:
296
linux TIME_WAIT 相关参数:net.ipv4.tcp_tw_reuse = 0 表示开启重用。允许将TIME-WAIT sockets重新用于新的TCP连接,默认为0,表示关闭net.ipv4.tcp_tw_recycle = 0 表示开启TCP连接中TIME-WAIT soc...
分类:
其他好文 时间:
2014-12-07 13:48:40
阅读次数:
247
NSDataFoundationNSURL/NSURLRequest/NSURLConeectionNSNetService/NSNetServiceBrowserCore FoundationCFNetworkCFNetServiceBSD Sockets[plain] view plaincop...
分类:
其他好文 时间:
2014-12-06 10:07:11
阅读次数:
215
现场weblogic报 >
处理方法有两种:
BEA-002631 - Reached Maximum Open Sockets / Leak of Sockets
in CLOSE_WAIT state (文档 ID 1673969.1)
转到底部
In th...
分类:
Web程序 时间:
2014-12-05 19:20:31
阅读次数:
1839
服务端代码如下:using System;using System.Net;using System.Net.Sockets;using System.Text;using System.Threading;using System.Windows.Forms;namespace Client{ ....
分类:
其他好文 时间:
2014-12-05 12:31:48
阅读次数:
310