Reading the repo
Opening the box…
Reading the repo
Opening the box…
How to install on macOS
Go network types for TCP and UDP apps and proxies: a UDP flow splitter, packet info for UDP sockets, in-memory pipes and trunks, connection wrappers and deadlines.
GitHub didn't answer, so this is the saved copy from 1 days ago
Will it work on macOS?
go get github.com/vnxme/hybrid), there's no app to open.Pipes, trunks, wrappers, deadlines and the splitter are pure Go and work everywhere Go does, Plan 9 included.
UDP sockets aren't available on js, plan9 and wasip1. Packet info is supported as follows:
| Platforms | IPv4 packet info turned on with | IPv4 sent from |
|-------------------------------------------|--------------------------------------|----------------------------------|
| linux | IP_PKTINFO | ipi_spec_dst, with an index |
| darwin, illumos, solaris | IP_RECVPKTINFO | ipi_spec_dst, with an index |
| zos | IP_RECVPKTINFO | ipi_addr, with an index |
| windows | IP_PKTINFO | ipi_addr, with an index (*) |
| dragonfly, freebsd, netbsd, openbsd | IP_RECVDSTADDR, IP_RECVIF | IP_SENDSRCADDR, no index |
| aix | IP_RECVDSTADDR, IP_RECVINTERFACE | IP_SENDSRCADDR, no index |
| others, e.g. js, plan9, wasip1 | unsupported | |
(*) Windows sends packet info without a source address from 0.0.0.0 or ::, so a write without a source
address goes as by WriteTo there.
IPv6 packet info is the same everywhere: IPV6_RECVPKTINFO turns on IPV6_PKTINFO messages carrying
in6_pktinfo. Where packet info isn't supported, PacketInfoUDPConn fails with an error wrapping
errors.ErrUnsupported.
This is a library: you add it to your code rather than opening an app.
go get github.com/vnxme/hybrid
From the README, exactly as the maintainers wrote it.
No reports for macOS yet.
GitManual AI Agent reads the 9 key files and writes a step-by-step guide for macOS. Once written, it's saved for everyone.