fix rawsock tinygo implementation

This commit is contained in:
Patricio Whittingslow
2026-07-28 15:41:34 -03:00
parent 85f517e337
commit 743e09a4c1
+1 -1
View File
@@ -44,7 +44,7 @@ func (c *Conn) SetWriteTimeout(timeout time.Duration) error { return errors.ErrU
type Listener struct{}
// Listen is unsupported on this platform.
func Listen(port uint16) (*Listener, error) { return nil, errors.ErrUnsupported }
func (l *Listener) Listen(port uint16) error { return errors.ErrUnsupported }
func (l *Listener) Accept() (net.Conn, error) { return nil, errors.ErrUnsupported }
func (l *Listener) AcceptConn(conn *Conn) error { return errors.ErrUnsupported }