Skip to content

Instantly share code, notes, and snippets.

View YangKeao's full-sized avatar
🤒
Out sick

YangKeao YangKeao

🤒
Out sick
View GitHub Profile
@YangKeao
YangKeao / main.go
Created February 5, 2025 13:28
A demo shows that Linux will attach `FIN` flag to the last packet in the queue, which will cause `PSH, FIN` in the same packet.
package main
import (
"bufio"
"fmt"
"log"
"net"
"os"
"strings"
"time"