Can we use poll (like in c ) in ruby

I work in a network desktop wich a hote communicate with different client , so maybe they can send maybe they can listen it’s depend so if you can give me help thanks .