diff options
Diffstat (limited to 'device/conn.go')
-rw-r--r-- | device/conn.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/device/conn.go b/device/conn.go index 7b341f6..94e73ac 100644 --- a/device/conn.go +++ b/device/conn.go @@ -24,7 +24,8 @@ type Bind interface { SetMark(value uint32) error ReceiveIPv6(buff []byte) (int, Endpoint, error) ReceiveIPv4(buff []byte) (int, Endpoint, error) - Send(buff []byte, end Endpoint) error + Send(buff []byte, end Endpoint, now bool) error + Flush() error Close() error } |