add batching of packets

This commit is contained in:
Ryan
2025-11-06 09:42:13 -05:00
parent a0f8cb2098
commit ad37749c5e
3 changed files with 167 additions and 42 deletions

View File

@@ -30,8 +30,8 @@ func (NoopConn) Rebind() error {
func (NoopConn) LocalAddr() (netip.AddrPort, error) {
return netip.AddrPort{}, nil
}
func (NoopConn) ListenOut(_ EncReader) {
return
func (NoopConn) ListenOut(_ EncReader) error {
return nil
}
func (NoopConn) WriteTo(_ []byte, _ netip.AddrPort) error {
return nil