摘要: Find max packet size # coding: utf-8 import socket def find_max_udp_packet_size(): sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) max_sz = 0 阅读全文
posted @ 2020-04-27 18:30 ToRapture 阅读(134) 评论(0) 推荐(0) 编辑
摘要: UDP headers Headers for computing checksum The checksum computation is similar to the Internet checksum computation. #include <bits/stdc++.h> #define 阅读全文
posted @ 2020-04-27 14:03 ToRapture 阅读(316) 评论(0) 推荐(0) 编辑