diff --git a/embassy-net/src/tcp_socket.rs b/embassy-net/src/tcp_socket.rs index 39bdd0c18..4836f8075 100644 --- a/embassy-net/src/tcp_socket.rs +++ b/embassy-net/src/tcp_socket.rs @@ -200,4 +200,8 @@ impl<'a> AsyncWrite for TcpSocket<'a> { Err(e) => Poll::Ready(Err(to_ioerr(e))), }) } + + fn poll_flush(self: Pin<&mut Self>, _cx: &mut Context<'_>) -> Poll> { + Poll::Ready(Ok(())) // TODO: Is there a better implementation for this? + } }