Welcome![Sign In][Sign Up]
Location:
Search - sock

Search list

[Windows Develop80.1

Description: 这是一个用VC开发的消息截取器,能够锁定SOCK,功能很强大,很黄很暴力
Platform: | Size: 825406 | Author: 张无泪 | Hits:

[WinSock-NDISsock

Description: Visual C++ ADO数据库编程 Socket模型详解 有较强的设计 适应于各编程人员参考
Platform: | Size: 37332 | Author: 王平 | Hits:

[TCP/IP stacksocket1

Description: Sock Complete Port Demo
Platform: | Size: 2903 | Author: fwerfwf | Hits:

[TCP/IP stacktcpip

Description: A Simple TCP/IP stack with Sock API support
Platform: | Size: 51384 | Author: perry wu | Hits:

[Linux-Unixsockraw9

Description: 一个基于linux平台下利用SOCK raw 通信的例子 很好哦
Platform: | Size: 407079 | Author: lv min qiang | Hits:

[WinSock-NDIStestsock

Description: 用SOCKAPI,自己做制作像MFC一样的MFCSOCK,方便以后使用SOCK,来做一些通信程序-SOCKAPI use their production as do the same MFCSOCK MFC, to facilitate future use Sock, do something Communication Program
Platform: | Size: 59053 | Author: 谢泽 | Hits:

[Windows Developchatado

Description: 这个是我开始接触编程时的想法,想通过仅用数据库,不采用sock来实现一个简单的在局域网内的聊天室,我想这个想法很多人都有过。这个程序本身没什么价值,只是一来把自己当初的设计与大家分享,二来是有鉴于网上对ADO控件的使用这方面的介绍不是很多,自己算是抛砖引玉吧。-this my first contacts with the idea of programming, database only want to do so to achieve a sock simple LAN in the chat room, I think a lot of people have ideas too. This procedure itself no value, but one to their original design to share with you, to the Internet is given the right to use ADO this presentation is not very large, is to initiate it themselves.
Platform: | Size: 430732 | Author: 许威力 | Hits:

[Exploitwb3

Description: 个是我开始接触编程时的想法,想通过仅用数据库,不采用sock来实现一个简单的在局域网内的聊天室,我想这个想法很多人都有过。这个程序本身没什么价值,只是一来把自己当初的设计与大家分享,二来是有鉴于网上对ADO控件的使用这方面的介绍不是很多,自己算是抛砖引玉吧。-were I started programming when contact with the idea, wants only database, do not use sock to achieve a simple LAN in the chat room, I think a lot of people have ideas too. This procedure itself no value, but one to their original design to share with you, to the Internet is given the right to use ADO this presentation is not very large, is to initiate it themselves.
Platform: | Size: 1271555 | Author: 活帐号 | Hits:

[WinSock-NDISTCP实现客户服务器聊天程序

Description:

 

操作系统课程设计任务书


一、设计题目:多机进程通信

应用Socket进程通信技术编写聊天室程序,实现基于服务器的并发多机信息转发。如果各客户端在线则可以实时聊天、发送接收文件,如果某客户端离线,则发送给他的消息可由服务器端进行内容缓存,待重新连线后可以自动接收通过服务器转发的信息或文件。缓存与转发的控制算法可参考操作系统课程中生产者消费者进程同步方法、缓冲池技术等相关理论。
二、设计思路和功能的详细描述
采用TCP协议,所以属于客户机/服务器模式,因此需要聊天服务器端和聊天客户端两个程序,实现的功能是:任意一台装有客户端程序的计算机都可以通过服务器端的IP地址与服务器相连,然后进入聊天室与连接到服务器的其他客户进行聊天。当客户聊天结束时,可以点断开与服务器断开连接,以释放进程让其他等待的客户进入聊天室,本聊天室最大同时支持50个客户端的连接,如果服务器配置较高可以修改程序来增加同时连接数。
三、采用的方法、技术、运行环境及其配置
本聊天程序采用TCP协议,用VC++编写,属于客户机/服务器模式。采用了多线程的机制。其中使用windows Sockets实现多台计算机(多个进程)间的通信,SOCKET实际在计算机中提供了一个通信端口,可以通过这个端口与任何一个具有SOCKET接口的计算机通信。应用程序在网络上传输,接收的信息都通过这个SOCKET接口来实现。客户机/服务器模式中客户应用程序向服务器程序请求服务。一个服务程序通常在一个众所周知的地址监听对服务的请求,也就是说,服务进程一直处于休眠状态,直到一个客户对这个服务的地址提出了连接请求。在这个时刻,服务程序被“惊醒”并且为客户提供服务即对客户的请求作出适当的反应。本聊天程序就是基于这中思想实现的,程序分为两大部分:TCP聊天服务器端和TCP聊天客户端。两者都拥有各自的SOCKET接口,其中服务器端SOCKET接口需要绑定到固定地址上(实现语句:ock=Socket(AF_INET,SOCK_STREAM,0);),等待客户端的连接(实现语句:listen(sock,5);)。等待客户端的连接的过程就是通过多进程机制来实现的。
聊天程序是在VISUAL C++6.0上编译实现的,在WINDOWS2000,XP上测试运行成功。
对客户计算机配置无特殊要求,由于所设置的最大连接进程为50,所以对服务器要求也不高。
四、关键源程序及其详细的注释
<一>、服务器端
1
、Socket初始化
//
初始化对话框
BOOL CCSocketDlg::OnInitDialog()
{

count=0;

m_list.InsertColumn(0,"消息");

m_list.SetColumnWidth(0,435);

m_edit.SetLimitText(99);

.

.

.

.

 


Platform: | Size: 55808 | Author: lenjear | Hits:

[ComboBoxSOCK 5 DELPHI

Description: Create a Socks5 Server
Platform: | Size: 2427 | Author: foxnguyen | Hits:

[Proxy Serversocks_code

Description: Java写的Socks4和Socks5代理服务的客户端和服务器端工具库源码-Java writes Socks4 and the Socks5 proxy serves customer end and server end tool room source code
Platform: | Size: 155648 | Author: 站长 | Hits:

[Embeded-SCM Developuip-0.6

Description: 一个含socket接口的小型tcp/ip协议栈-A socket interface containing small tcp/ip protocol stack
Platform: | Size: 171008 | Author: zhwang | Hits:

[SourceCode数据通信与计算机网络

Description: 用VB控件WINSOCK制作的局域网聊天工具,做得不好,请多多指教。-WINSOCK control using VB produced LAN chat tools, not doing a good job, please exhibitions.
Platform: | Size: 14336 | Author: | Hits:

[Ftp Clientac_ftp

Description: 使用socket写的ftp客户端- Uses ftp customer end which socket writes
Platform: | Size: 37888 | Author: none | Hits:

[BooksSybex - CSharp Network Programming

Description: C# Network Programming by Richard Blum ISBN:0782141765 Sybex ?2003 (647 pages) This book helps newcomers get started with a look at the basics of network programming as they relate to C#, including the language抯 network classes, the Winsock interface, and DNS resolution.-C# Network Programming by Richard Blum ISBN:0782141765 Sybex? 2,003 (647 pages) This book helps newcomers get started with a look at the basics of network programming as they relate to C#, including the language 鈻
Platform: | Size: 6438912 | Author: cag | Hits:

[Proxy Serverkingate-1.6.tar

Description: kingate是一个代理服务器,能代理多种协议,包括:http,https,socks,ftp,pop3,smtp,telnet,dns。能运行在linux,freebsd,...及其它类unix,还有windows(最新版本要求nt 4.0以上)操作系统上 kingate是一个多线程的程序(采用线程池的方式),所以短时间内大量的连接请求,kingate还能保持很高的性能。 kingate还支持tcp端口映射,可以实现别人访问你的内网主机。-kingate is an agent server, can act the many kinds of agreements, including: Http, https, socks, ftp, pop3, smtp, telnet, dns. Can move in linux, freebsd.. And other kind of unix, but also has windows (the newest edition to request above nt 4.0) on the operating system kingate is a multi-thread procedure (uses line Cheng Chi the way), therefore in the short time the massive connections requested, kingate also can maintain the very high performance. Kingate also supports the tcp port mapping, may realize the others to visit you in webmaster machine.
Platform: | Size: 225280 | Author: none | Hits:

[Internet-Networkfreesender

Description: 基于IP/UDP协议的sock编程 -based on IP/UDP protocol to the sock Programming
Platform: | Size: 32768 | Author: 草约 | Hits:

[CommunicationRowSockTest

Description: 一个原始sock的数据网络通讯程序。-an original sock data network communication process.
Platform: | Size: 86016 | Author: 王子欣 | Hits:

[Internet-NetworkConnectionLimit

Description: 测试windows的socket最大连接数-test windows of the largest socket connections
Platform: | Size: 17408 | Author: 高年蒙 | Hits:

[Internet-Networkbcb Socket

Description: 我收集的C++ builder编写socket的文章.-I collected C builder prepared socket article.
Platform: | Size: 192512 | Author: 王昆 | Hits:
« 1 2 3 4 5 6 78 9 10 11 12 ... 28 »

CodeBus www.codebus.net