Categorygithub.com/Clouded-Sabre/rawsocket
module
0.0.0-20240823015757-77d4faf981fa
Repository: https://github.com/clouded-sabre/rawsocket.git
Documentation: pkg.go.dev

# README

rawsocket

Rawsocket is a Golang raw socket implementation on Windows and macos mimicking net.IPConn on Linux. Due to some critical limitations of official raw socket implementation on Windows and macos, net.IPConn does not really work on Windows and macos.

This raw socket implementation making use of Gopacket and creates similar net.IPConn function such as DialIP, ListenIP, Read, ReadFrom, Write, WriteTo, SetReadDeadline, and Close so that you can use it in similar way as Linux net.IPConn.

As required by Gopacket, you need to install Npcap on Windows and libpcap on macos before using this library.

# Packages

No description provided by the author
No description provided by the author
No description provided by the author