-
Client程序同样分别创建一个TCP socket 和一个UDP socket,首先client使用TCP socket连接TCP Server。
连接成...
Client程序同样分别创建一个TCP socket 和一个UDP socket,首先client使用TCP socket连接TCP Server。
连接成功后显示提示信息;
然后client端向TCP Server发送“GET UDP PORT”字符串,Server收到后向client回送自己的UDP Server 端口号(即Client端仅知道TCP Server的端口号而不知道UDP Server的端口号);
client在收到UDP Server的端口号后, 为用户显示3个选项:
1.“Get current time(TCP)”服务器时间
2.“Echo Mode(UDP)”回显6
3.“Exit the program”.
-Client program also creates a TCP socket, respectively, and a UDP socket, the first client to use TCP socket connection TCP Server. After a successful connection displays a prompt message and then client-side to the TCP Server sends " GET UDP PORT" string, Server receipt back to the client to send their UDP Server port number (ie, Client-side only to know the TCP Server" s UDP port number do not know Server" s port number) client received UDP Server port number, in order to the user three options: 1. " Get current time (TCP)" server time 2. " Echo Mode (UDP)" echo 63. " Exit the program" .
- 2023-07-31 00:05:03下载
- 积分:1
-
基于Winsock2的支持断点续传和SOCKS代理的HTTP下载类,支持断点续传和HTPPGET、SOCKS4、SOCKS4A、SOCKS5代理协议, 支持HT...
基于Winsock2的支持断点续传和SOCKS代理的HTTP下载类,支持断点续传和HTPPGET、SOCKS4、SOCKS4A、SOCKS5代理协议, 支持HTTP BASIC验证和PROXY验证,同时提供SOCKS函数库和基于WINSOCK2重叠IO和事件 对象的Winsock2函数库。-based Winsock2 support HTTP and SOCKS Agent HTTP download categories, support and HTPPGET HTTP, SOCKS4, SOCKS4A, SOCKS5 agency agreement to support HTTP PROXY BASIC authentication and certification, along with libraries and SOCKS-based IO WINSOCK2 overlapping objects and events, the Winsock2 libraries.
- 2022-03-17 17:24:42下载
- 积分:1
-
in VC compiler, achieving large file transfer, very fast, can be designated port...
在VC下编译,实现大文件的传输,速度很快,可以指定端口和IP-in VC compiler, achieving large file transfer, very fast, can be designated ports and IP
- 2022-11-02 03:00:03下载
- 积分:1
-
1:动画方式弹出,就像MSN的提示框
2:漂亮,详细见配图
3:还可以再在开一个更加详细的内容网页
4:自动关闭,无需手工确认那个ok
5:示例...
1:动画方式弹出,就像MSN的提示框
2:漂亮,详细见配图
3:还可以再在开一个更加详细的内容网页
4:自动关闭,无需手工确认那个ok
5:示例包括C#和VB两个版本,popUp的源文件在EeekSoft.Web.PopupWin文件夹中
6:用起来简单(具体使用方法见代码佩文),示例使用前请先编译-1: Animation mode pop-up, just like MSN Tips Box 2: beautiful, detailed distribution see Figure 3: can also be opened again in a more detailed content of the page 4: automatically shut down without manually confirm that ok5: examples include the C# And VB two versions, popUp the source file in EeekSoft.Web.PopupWin folder 6: simple to use (see specific use code佩文), examples of the use of the compiler before
- 2022-03-06 04:10:02下载
- 积分:1
-
文件传送 This program is free software you can redistribute it and/or modify it unde...
文件传送 This program is free software you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation either version 2 of the License, or (at your option) any later version. * * copyright : (C) 2002 by Zhang Yong * * email : z-yong163@163.com *-file transfer This program is free software you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation either version 2 of the License, or (at your option) any later version.** copyright : (C) 2002 by Zhang Yong** email : z-yong163@163.com*
- 2022-12-15 17:20:05下载
- 积分:1
-
getting the data via other application and send that to the web.
把大智慧软件的数据及时更新到网站(http)上,供其它人共享,商业程序,只有核心代码,不含界面,各位兄弟见谅。-getting the data via other application and send that to the web.
- 2022-02-06 08:16:29下载
- 积分:1
-
一个简单的网页设计,不错的
一个简单的网页设计,不错的-a simple web design, good
- 2022-02-28 23:47:39下载
- 积分:1
-
异步http请求。 不用通常的线程模型。使用者可以放心使用,不用担心资源冲突。...
异步http请求。 不用通常的线程模型。使用者可以放心使用,不用担心资源冲突。-asynchronous http requests. Not usually the thread model. Users can be assured use without fear of resource conflicts.
- 2022-01-25 14:59:13下载
- 积分:1
-
better e
比较好的电子商务开发系统,可供大家学习-better e-commerce development system, we can learn
- 2022-02-15 03:56:31下载
- 积分:1
-
使用JAVA I/O和 NI/O编写的两种网络ECHO服务器,用以学习两种IO的不同编程方法,体验基于阻塞与非阻塞IO开发高性能网络应用程序的具体实例.Java...
使用JAVA I/O和 NI/O编写的两种网络ECHO服务器,用以学习两种IO的不同编程方法,体验基于阻塞与非阻塞IO开发高性能网络应用程序的具体实例.Java平台传统的I/0系统基于byte(字节)和Stream(数据流)。这种模式下的I/O 操作以字节为单位,以流的方式处理数据。而NIO( New I/O )以块的方式处理数据,它的系统操作面向Buffer(缓冲),Channel(通道)和Selector(选择器),不再是字节,这种模式利用了操作系统管理内存和文件的方式,并将一些耗时操作直接转移给操作系统,使JavaI/O的速度得以提高、性能得到了明显的改善
-The use of JAVA I/O and NI/O, prepared by two types of network servers ECHO to learn two different programming methods IO experience obstructive and non-blocking IO based on the development of high-performance network applications specific examples. Java platform for the traditional I/0 system is based on the byte (byte) and Stream (data streams). This mode of I/O operation in bytes in order to deal with data flow way. The NIO (New I/O) blocks the way to deal with data, its system for Buffer (buffer), Channel (channel) and the Selector (selector), is no longer a byte, this mode of use of operating system management of memory and the manner in which documents, and some time-consuming operation of a direc
- 2022-02-09 15:18:54下载
- 积分:1