写在前面
写这篇笔记的时候,我还是很气的。
ip头
代码
引用内容
代码
import socket
import struct
def checksum(source_string):
sum = 0
countTo = (len(source_string)/2)*2
count = 0
while count<countTo:
thisVal = ord(source_string[count + 1])*
写这篇笔记的时候,我还是很气的。
引用内容
代码
import socket
import struct
def checksum(source_string):
sum = 0
countTo = (len(source_string)/2)*2
count = 0
while count<countTo:
thisVal = ord(source_string[count + 1])*