Description: 这是linux下关于C的编程,其中包含了socket的几种用法的例子,有udp、tcp以及select的使用。-under linux on the C programming, which includes a socket several examples of usage, udp, tcp and select use. Platform: |
Size: 571308 |
Author:钟文德 |
Hits:
Description: 这是linux下关于C的编程,其中包含了socket的几种用法的例子,有udp、tcp以及select的使用。-under linux on the C programming, which includes a socket several examples of usage, udp, tcp and select use. Platform: |
Size: 571392 |
Author:钟文德 |
Hits:
Description: UDP收包程序例子,基于非阻塞模式socket,并利用select()实现接收超时。-UDP packet admission procedure examples, based on the non-blocking mode of socket, and use select () to receive overtime realize. Platform: |
Size: 7168 |
Author:liu |
Hits:
Description: 这是linux下关于C的编程,其中包含了socket的几种用法的例子,有udp、tcp以及select的使用。-This is under linux on the C programming, which includes a socket several usage examples, udp, tcp, as well as the use of select. Platform: |
Size: 571392 |
Author:赵炜 |
Hits:
Description: 一个很好的关于网络技术与编程的PPT,是初学者很好的选择
1 简介
2 传输层 TCP 和UDP
3 套接口编程基础
4 基本TCP套接口编程
5 TCP 客户-服务器例子
6 I/O复用:select和poll函数-A good programming on network technology and PPT, are a good choice for beginners 1 Introduction 2 transport layer TCP and UDP 3 4 socket programming based on the basic TCP socket programming 5 TCP client- server example 6 I/O multiplexing : select and poll Functions Platform: |
Size: 600064 |
Author:lyy |
Hits:
Description: 一个网络通信开发库示例源码,封装了TCP和UDP的socket函数,封装了完成端口、WSAEventSelect、select等3种winsock I/O模型,并结合线程池+内存池模式,支持高并发。 -Example of a network communications development library source code, TCP and UDP encapsulates the socket function, encapsulates the completion port, WSAEventSelect, select, etc. 3 winsock I/O model, and the thread pool+ memory pool model to support high-concurrency. Platform: |
Size: 2081792 |
Author:李海 |
Hits:
Description: linux网络编程实例,讲解了一些udp tcp的socket编程,有select的例子-linux network programming examples to explain some of the udp tcp socket programming, there are select examples of Platform: |
Size: 571392 |
Author:yzh |
Hits:
Description: 通过UDP和select函数来实现非阻塞的通话机制,已达到客户端之间的通讯-Through the UDP and select functions to achieve non-blocking call mechanism, has reached the communication between the client Platform: |
Size: 16384 |
Author:方言 |
Hits:
Description: 该程序是UDP方式的非阻塞网络socket通信代码,是我做语音设计时用的,供大家参考。-The program is a non-blocking UDP mode network socket communication code, I do voice design, for your reference. Platform: |
Size: 3072 |
Author:enchen |
Hits:
Description: 使用VC++开发的socket编程,包括TCP、UDP协议等、使用Select模块等
-Socket programming using C++ development, including TCP, UDP protocol, use the Select module Platform: |
Size: 5598208 |
Author:wangxiaogui |
Hits:
Description: TCP、UDP 通信程序设计实验
Socket 编程基本原理参见参考文档
UDP 通信程序设计
选择一个操作系统环境(Linux 或者Windows)建议linux,编制UDP/IP 通
信程序,完成一定的通信功能。在发送UDP 数据包时做一个循环,连续发送
100 个数据包;在接收端统计丢失的数据包。-TCP, UDP communication program design experiments
Socket programming basic principles, see the reference documentation
UDP communication program design
Select an operating system environment (Linux or Windows) recommended Linux, the preparation of UDP/IP through
Letter procedures, the completion of a certain communication functions. When sending UDP packets to do a cycle, continuous transmission
100 packets the packet at the receiver s statistics. Platform: |
Size: 3072 |
Author:y |
Hits:
Description: 多协议文件传输c/s网络应用设计与实现,程序用 TCP/UDP 两个协议模拟多协议服务器。首先服务器端要将两种协议的套接字创建好,并且监听 TCP 端口的连接。必要时使用select函数来进行多连接处理和非阻塞处理。而客户端直接可以按照发送的地址和端口号来进行通讯。
首先要运行服务器端,服务器会监听 TCP 端口。然后运行客户端,根据事先设定好的 IP和端口,就可以进行连接传输数据了。
程序实现的关键步骤:
以TCP协议为例
服务器端:
1.创建套接字;2.绑定端口;3.进入无穷的循环;4.接收请求;5.处理请求;6.应答。
客户端:
1.找到服务器的IP地址和协议的端口号;2.创建套接字;3.确定连接需要任意的,没有使用的端口号允许TCP去选择一个;4.将套接字和服务器连接;5.使用应用层协议和服务器交互;6.关闭连接。-Multi-protocol file transfer c/s network application design and implementation of programs simulate multi-protocol server with TCP/UDP both protocols. First socket server to create a good two protocols, TCP port and listens for connections. If necessary, use the function to handle multiple connections and non-blocking treatment. And the client can follow directly address and port number to communicate.
First run on the server side, the server listens on TCP port. Then run the client, according to pre-configured IP and port, you can connect the data transmission.
The key step program implementation:
In TCP protocol as an example
Service-Terminal:
1. Create a socket 2 bound port 3 enter an infinite loop 4. receiving a request 5. processing requests 6 response.
Clients:
1. Locate the server s IP address and protocol port number 2 creates a socket 3 connections need to determine arbitrary, unused port allows TCP to choose a 4 and the socket server connections 5 using appli Platform: |
Size: 22675456 |
Author:大酱 |
Hits:
Description: 《精通Windows Sockets网络开发:基于Visual C++实现》由浅入深、循序渐进地讲解如何使用WindowsSockets开发网络应用程序。WindowsSockets是当前主要的网络开发技术之一。《精通Windows Sockets网络开发:基于Visual C++实现》内容包括准备开发环境、TCP/IP基本介绍、Windows套接字基础、协议特征、基本TCP套接字编程、基本UDP套接字编程、套接字选项、套接字阻塞模式开发、套接字非阻塞模式开发、Select模型开发、WSAAsyncSelect模型开发、WSAEventSelect模型开发、重叠I/O模型开发和完成端口模型开发。为使读者深入理解套接字的理论知识,增加实践项目经验,《精通Windows Sockets网络开发:基于Visual C++实现》最后7章,每章讲解一个具有实践意义的网络应用程序。在这些实例中包含许多软件开发技术知识,如STL、ADO、多线程、MFC、软件设计模式等。-Explain how to use Windows Sockets to develop web applications, including the preparation of the development environment, TCP/IP basic introduction, Windows socket base, protocol features, basic TCP socket programming, basic UDP socket programming, socket options, socket blocking mode development, socket Non-blocking mode development, Select model development, WSAAsyncSelect model development, WSAEventSelect model development, overlapping I/O model development and completion port model development. Platform: |
Size: 50822144 |
Author:Raina |
Hits: