Can we use poll (like in c ) in ruby

#1

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 .