Network
共 4 篇文章
LDAP的特定错误
LDAP的特定错误Error: com.macromedia.contribute.server.exception.DBException: Error in bind() from LDAP source: [server]:[port]**错误:com.macromedia.contribute.server.exception.DBException:**绑定错误的()从LDAP来源:[服务器]:[端口] Cause: This is a very general error, and it means something went wrong when trying to bind…
2011-03-30 15:13 · Network · .net
Socket函数参数说明
1、WSAStartup函数 用于初始化Winsock [声明] int WSAStarup (WORD wVersionRequested,LPWSADATA lpWSAData); [参数] wVersionRequested - 要求使用Winsock的最低版本号 lpWSAData - Winsock的详细资料 [返回值] 当函数成功调用时返回0 失败时返回非0的值 2、socket函数 用于生成socket(soket Descrīptor) [声明] SOCKET socket(int af,int type,int protocol); [参数] af - 地址家族(通常使用:…
2010-03-03 12:51 · Network · 网络协议 · Socket · Windows
Socket参数说明
SO_LINGER 此选项指定函数close对面向连接的协议如何操作(如TCP)。缺省close操作是立即返回,如果有数据残留在套接口缓冲区中则系统将试着将这些数据发送给对方。 SO_LINGER选项用来改变此缺省设置。使用如下结构: struct linger { int l_onoff; /* 0 = off, nozero = on */ int l_linger; /* linger time */ }; 有下列三种情况: l_onoff为0,则该选项关闭,l_linger的值被忽略,等于缺省情况,close立即返回; l_onoff为非0,l_linger为0,则套接口关闭时TCP…
2010-03-03 12:47 · Network · 算法 · 网络应用 · 应用服务器 · 网络协议 · Socket
java socket 编程实践参考(翻译)
关键字: socket, flush, blocking, timeout, serversocket, flow, shutdown socket /套接字 Sockets let you send raw streams of bytes back and forth between two computers, giving you fairly low-level access to the TCP/IP protocol. See the File I/O Amanuensis for sample code to do that. In TCP/IP each computer …
2010-03-03 10:56 · Network · 应用服务器 · Java · 网络协议 · Socket · 编程