-
www工具包
www工具包-Toolkit for
- 2022-06-14 14:21:37下载
- 积分:1
-
QT获取网络时间
基本过程如下:
1. 利用ntp服务器获取网络时间
QUdpSocket udp_sock;
udp_sock.connectToHost("time.windows.com",123);
2. 阻塞等待连接成功
if(udp_sock.waitForConnected(60000))
{
...
}
3. 发送时间请求
udp_sock.write(time_req);
udp_sock.flush();
4. 阻塞等待消息返回
if(udp_sock.waitForReadyRead(120000))
{
...
}
说明:此过程等待时间可能较长,出现连接失败的情况也比较常见。
- 2022-03-21 22:20:09下载
- 积分:1
-
简单聊天室客户端
简单聊天室客户端-simple chat room client
- 2022-01-26 04:00:44下载
- 积分:1
-
MIME(BASE64/QP) 编码/解码程序代码。 此代码是一个 BCB 的单元,非常简单,提供了四个函数, 要改成 Delphi 或其它 C/C++ 也很容...
MIME(BASE64/QP) 编码/解码程序代码。 此代码是一个 BCB 的单元,非常简单,提供了四个函数, 要改成 Delphi 或其它 C/C++ 也很容易,有需要的自已改吧。此代码经过测试,结果正确。-MIME (BASE64/QP) encoding/decoding code. This code is a BCB module is very simple, providing four functions, to change Delphi or other C/C is also very easy, it is necessary to change it by themselves. This code tested and the results correctly.
- 2022-11-24 16:30:08下载
- 积分:1
-
BroadcastSender
#include
#include
#include
#include
#include
#include
#include "Practical.h"
static const char *IN6ADDR_ALLNODES = "FF02::1"; // v6 addr not built in
int main(int argc, char *argv[]) {
if (argc != 4) // Test for correct number of arguments
- 2022-05-22 11:28:35下载
- 积分:1
-
XChat
这是一个局域网聊天工具的源代码.
采用UDP通信-XChat
- 2023-04-09 05:30:03下载
- 积分:1
-
基于Delphi 和TCP/IP 协议的通信编程
基于Delphi 和TCP/IP 协议的通信编程-Based on Delphi and the TCP/IP protocol for communication programming
- 2022-01-24 19:04:08下载
- 积分:1
-
在运行本程序时,检索整个局域网络,将局域网中的计算机名和IP地址显示在ListControl空间中。...
在运行本程序时,检索整个局域网络,将局域网中的计算机名和IP地址显示在ListControl空间中。-Running the program, search the entire local area network LAN of the computer name and IP address appears in ListControl space.
- 2022-07-21 15:35:02下载
- 积分:1
-
a UDP/IP protocol stack
一个UDP/IP协议栈-a UDP/IP protocol stack
- 2022-04-17 03:26:46下载
- 积分:1
-
VC断点续传源代码
VC断点续传源代码,可以支持局域网络内,2G数据断点传输,是大家学习的好例子,也可以直接加入自己项目中直接使用!!!!
- 2023-03-10 06:50:02下载
- 积分:1