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: 通过ip地址,利用socket来进行服务器与客户端的信息通讯,程序较为简单。-through ip address, the use of socket server to the client's information and communication, the more simple. Platform: |
Size: 61440 |
Author:Neil |
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: 1服务端接收文件,客户端发送文件。
2 每个Socket连接同时只能够传输一个文件。
3 可同时发送网络消息
-receive a document server, a client sends documents. Socket two each while only link to a document transmission. 3 can also send news network Platform: |
Size: 1170432 |
Author:冰火 |
Hits:
Description: 一个Socket Server例子,另外附带java socket参考手册-an example, the other side java socket reference manual Platform: |
Size: 152576 |
Author:Solo |
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: 这是一个关于各种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: