context aware connectFD

This commit is contained in:
Quentin McGaw
2026-06-11 13:06:05 +00:00
parent 9af6aaff27
commit 70d80f7473
3 changed files with 54 additions and 20 deletions
+2 -1
View File
@@ -3,6 +3,7 @@
package restrictednet
import (
"context"
"net/netip"
)
@@ -18,7 +19,7 @@ func bindFD(fd int, address netip.AddrPort) error {
panic("not implemented")
}
func connectFD(fd int, destination netip.AddrPort) error {
func connectFD(ctx context.Context, fd int, destination netip.AddrPort) error {
panic("not implemented")
}