Location:
Search - socket tcp udp
Search list
Description: 首先Server程序创建两个socket:
分别为 TCP socket(使用命令行参数指定端口号)
UDP socket(UDP端口号自定义,使用宏定义写在程序里,必须大于1024)。
server端在这两个端口上侦听连接,接受来自客户端的服务请求。
Platform: |
Size: 27503 |
Author: rita552129 |
Hits:
Description: sockets API封装类,可以在UNIX和WIN32平台下工作。提供SSL、IPv6、TCP/UDP sockets、 TCP加密、HTTP协议、高度可定制的错误处理。-sockets API Packaging category, in UNIX and work under Win32 platform. SSL, IPv6, TCP/UDP sockets, TCP encryption, HTTP protocol, highly customizable error handling.
Platform: |
Size: 202752 |
Author: 贾志远 |
Hits:
Description: Socket高级编程,TCP和UDP都可以-Socket Programming, TCP and UDP can be
Platform: |
Size: 3142656 |
Author: 张伟 |
Hits:
Description: 基于 Raw Socket 的 数据包捕获程序。支持 TCP/UDP/ICMP,支持端口及IP 过滤。-Raw Socket-based packet data capture process. Supports TCP/UDP/ICMP, IP and port support filtering.
Platform: |
Size: 43008 |
Author: xpan |
Hits:
Description: Linux下C++ Socket类,包括TCP,、UDP这两种基本协议。
-Linux under the C++ Socket categories, including TCP,, UDP both basic agreement.
Platform: |
Size: 1024 |
Author: 小强 |
Hits:
Description: 周立功TCP/IP协议栈,结构清晰、简单
包括:
\APR
\CRC
\ETHERNET
\HARDWARE
\INCLUDE
\IP
\PING
\SOCKET
\TCP
\UDP
-Week Ligong TCP/IP protocol stack, structure, clarity, simplicity, including: APRCRCETHERNETHARDWAREINCLUDEIPPINGSOCKETTCPUDP
Platform: |
Size: 1425408 |
Author: hkjinzhao |
Hits:
Description: 一个基本的SOCKET通讯的例子,可实现TCP和UDP协议通讯-SOCKET a basic example of communication, enabling TCP and UDP communication protocol
Platform: |
Size: 3314688 |
Author: 范小雨 |
Hits:
Description: 关于TCP,UDP协议的网络编程,程序实现了客户端和服务器端的通信连接,通过socket建立连接,可以互相发送消息接收。-On TCP, UDP network programming protocols, procedures realize the client and server communications connections to establish a connection through the socket, you can send a message to receive each other.
Platform: |
Size: 64512 |
Author: 周人 |
Hits:
Description: Socket TCP UDP 连接编程,labview 网络连接编程源代码-Connection Socket TCP UDP programming, labview programming source code for network connections
Platform: |
Size: 178176 |
Author: liuyujijn |
Hits:
Description: Windows IPC socket program (tcp/udp) (server/client)
Platform: |
Size: 11968512 |
Author: dany k jeon |
Hits:
Description: tcp udp 网络编程源码 //创建套接字
sHost = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP)
if(INVALID_SOCKET == sHost)
{
printf("socket failed!\n")
WSACleanup() //释放套接字资源
return -1
}
//设置服务器地址
servAddr.sin_family =AF_INET
servAddr.sin_addr.s_addr = inet_addr("127.0.0.1")
servAddr.sin_port = htons((short)4999)
int nServAddlen = sizeof(servAddr)
//连接服务器
retVal=connect(sHost,(LPSOCKADDR)&servAddr, sizeof(servAddr))
if(SOCKET_ERROR == retVal)
{
printf("connect failed!\n")
closesocket(sHost) //关闭套接字
WSACleanup() //释放套接字资源
return -1
}
//向服务器发送数据
ZeroMemory(buf, BUF_SZIE)
strcpy(buf, "MyTCP")
retVal = send(sHost, buf, strlen(buf), 0)
if (SOCKET_ERROR == retVal)
{
printf("send failed!\n")
closesocket(sHost) //关闭套接字
WSACleanup() //释放套接字资源
return -1 -tcp udp network programming source code// create a socket sHost = socket (AF_INET, SOCK_STREAM, IPPROTO_TCP) if (INVALID_SOCKET == sHost) (printf ( " socket failed! \ n" ) WSACleanup () // release socket Word of resources return-1 )// set the server address servAddr.sin_family = AF_INET servAddr.sin_addr.s_addr = inet_addr ( " 127.0.0.1" ) servAddr.sin_port = htons ((short) 4999) int nServAddlen = sizeof ( servAddr) // connect to the server retVal = connect (sHost, (LPSOCKADDR) & servAddr, sizeof (servAddr)) if (SOCKET_ERROR == retVal) (printf ( " connect failed! \ n" ) closesocket (sHost) // Close socket WSACleanup () // release the socket resources return-1 )// to the server sending data ZeroMemory (buf, BUF_SZIE) strcpy (buf, " MyTCP" ) retVal = send (sHost, buf, strlen (buf), 0) if (SOCKET_ERROR == retVal) (printf ( " send failed! \ n" ) closesocket (sHost) // close the socket WSACleanup () // release socket resources to return
Platform: |
Size: 2048 |
Author: 闛靚 |
Hits:
Description: windows 中网络编程 Socket TCP FTP UDP等概念-windows in the network programming concepts such as Socket TCP FTP UDP
Platform: |
Size: 28267520 |
Author: yisaka |
Hits:
Description: 网络的相关知识,网络程序的编写,Socket是连接应用程序与网络驱动程序的桥梁,Socket在应用程序中创建,通过bind与驱动程序建立关系。此后,应用程序送给Socket的数据,由Socket交给驱动程序向网络上发送出去。计算机从网络上收到与该Socket绑定的IP+Port相关的数据后,由驱动程序交给Socket,应用程序便可从该Socket中提取接收到的数据。网络应用程序就是这样通过socket进行数据的发送与接收的。TCP与UDP的工作原理与编写过程,如何在程序中链接库文件。一个字符界面的聊天程序。-Knowledge of the network, the network procedures for the preparation, Socket is connected applications and the bridge network driver, Socket created in the application, through a relationship with the driver bind. Since then, the application data sent to Socket, the Socket to the driver sent to the network. Received from the network computer with the Socket bound to IP+ Port-related data, by the driver to the Socket, Socket applications can be extracted from the received data. This web application is sending data through the socket and receiving. TCP and UDP and the preparation process works, how to link library file in the program. A character interface chat program.
Platform: |
Size: 53248 |
Author: huaminggong |
Hits:
Description: tcp,udp的c/s程序,包含了linux,window的socket-tcp and udp
Platform: |
Size: 78848 |
Author: she |
Hits:
Description: 简单的JAVA聊天实现。客户端。TCP/UDP的使用。。。。。点对点通讯以及群发消息。-Simple JAVA chat implementation. Client. TCP/UDP use. . . . . Point to point communication, and mass messaging.
Platform: |
Size: 3072 |
Author: 邹晓敏 |
Hits:
Description: SOCKET实现异步通信,两个主机通过socket套接字,实现TCP,UDP协议-SOCKET asynchronous communication, the two host through socket socket, TCP, UDP agreement
Platform: |
Size: 3050496 |
Author: 王纪 |
Hits:
Description: Excemple source code for C# Socket TCP UDP
Platform: |
Size: 125952 |
Author: Almas |
Hits:
Description: 基于STM32的以太网口测试程序,同时开启8个socket实现TCP UDP独立的运行(STM32 based Ethernet port test program, while opening 8 socket, TCP UDP independent operation)
Platform: |
Size: 751616 |
Author: 电工写代码
|
Hits:
Description: 这是一个调试软件,没有源码。只可安装后使用,调试tcp&udp非常好用,适合于TCP编程调试。(This is a debugging software, no source code. Can only use after installation, debugging tcp&udp is very easy to use, suitable for TCP programming and debugging.)
Platform: |
Size: 1858560 |
Author: 1mol
|
Hits:
Description: C\C++编写的tcp\udp客户端及服务器程序(Tcp\udp client and server program written by C\C++)
Platform: |
Size: 2048 |
Author: sunqqq |
Hits:
« 12
3
4
5
6
7
8
9
10
...
28
»