Description: 简单的聊天程序,有服务器端和客户端,用异步SOCKET实现-simple chat program, a server and client, using asynchronous achieve SOCKET Platform: |
Size: 121856 |
Author:高海辉 |
Hits:
Description: 利用Socket编程制作一个简单的C/S应用。其中,Client端为GUI程序,用于提供界面输入两个数,并有1个“发送”按钮,另外还有一个 TextField用于显示传来的计算结果;Server端用于监听连接请求、计算发送过来的两数的和、送回数据结果。-Socket programming produced using a simple C/S applications. Which side of the GUI Client procedures used to provide input interface number two, and a "send" button, there is another TextField came for the show results; Terminal Server connectivity for wiretapping request, sent over the calculation of the number two and, for the return data results. Platform: |
Size: 1024 |
Author:刘流 |
Hits:
Description: 简单的vc Socket入门程序,对socket的基本结构有很清楚的描述,适合初学者初学者-vc Socket simple entry procedures, the basic structure socket has a very clear picture for beginners and beginners Platform: |
Size: 45056 |
Author:张天 |
Hits:
Description: It is a socket server. It accepts a connection from client and prints on the console a message that client writes Platform: |
Size: 53248 |
Author:培育 |
Hits:
Description: 采用c编写的socket套接字的服务器端程序。接收从客户端发送的信息,并向客户端发送信息。-The preparation of the socket using c socket server-side program. From the client to receive messages sent to the client send a message. Platform: |
Size: 1024 |
Author:smartliu |
Hits:
Description: VC++6.0下网络SOCKET server client聊天程序,用MFC编写,是个很好的网络变成参考-VC++ 6.0 Network SOCKET server client chat program, using MFC preparation is a good network into a reference Platform: |
Size: 2332672 |
Author:duncan |
Hits:
Description: linux 多线程多进程 非常好的例子
linux socket server/client
-linux multipe thread good example
linux socket server/client
Platform: |
Size: 675840 |
Author:陈明 |
Hits:
Description: android利用socket发送数据到PC,PC端也用socket接收并显示。-android using socket to send data to PC, PC-side socket is also used to receive and display. Platform: |
Size: 46080 |
Author:297470279 |
Hits:
Description: 这是一个关于各种IO模型的socket server实现与测试。
这里采用多种模型实现了一个TCP ECHO服务器,将client发送的内容echo回去。
client每秒会发送一次请求,server保持并发连接并进行相应。
现已实现的模型:
base: 最原始的echo服务器
thread: 多线程模型
select: select模型
poll: poll模型
epoll: epoll模型
参数
修改src/clients.sh 可以生成指定数量的client
修改src/base.cpp 中的MAX_CLIENT_NUM参数调整server最大服务数
修改src/base.cpp 中的CLIENT_INTERVAL参数调整client发包间隔
修改Makefile 中的DEBUG参数确定是否输出调试信息
使用方法(This is a socket server implementation and testing of various IO models.
Here, a variety of models are used to implement a TCP ECHO server that returns the contents sent by echo back to client.
Client sends a request per second, and server maintains concurrent connections and performs them accordingly.
The model has been implemented:
Base: the most primitive echo server
Thread: multithreaded model
Select: select model
Poll: poll model
Epoll: epoll model
parameter
Modify src/clients.sh to generate a specified number of client
Modify the MAX_CLIENT_NUM parameter in src/base.cpp to adjust the maximum number of server services
Modify the CLIENT_INTERVAL parameter in src/base.cpp to adjust the client contract interval
Modify the DEBUG parameter in the Makefile to determine whether output debugging information is out
Usage method) Platform: |
Size: 11264 |
Author:JIE2012
|
Hits:
Description: 此程式為BCB6.0 socket Server及Client通訊測試程式(This program is a BCB6.0 socket Server and Client communication test program) Platform: |
Size: 1326080 |
Author:kevin.chen660701
|
Hits:
Description: 使用vb6编写的简单的端口监听程序,包含服务端和客户端代码,先启动客户端,再启动客户端,点击连接后会弹出连接成功的提示,在客户端文本框中输入文本,服务端会实时显示内容。(The simple port listening program written with VB6 includes the server and the client code, starting the client first, and starting the client. After clicking the connection, the prompt will be popped out, the text is entered in the client text box, and the server will display the content in real time.) Platform: |
Size: 12288 |
Author:xiaogangw3 |
Hits: