Can tokio UdpSocket::recv resolve immediatelly?

In my project I have two task, each one with it's own socket.
I'm using recv to read the incoming messages.
The problem is that one of the task never run even if I send data on it's socket.
The other is constantly receiving data

If the socket have always available data, is recv never poll ?

My bad, it's work fine. I was sending data on the wrong port :person_facepalming:
But i'm still curious about recv behaviour if some data is already available.

Yes, the recv function will return the data immediately without yielding if it is available.