Question regarding Socket#read

Hi !

Look at this code :

socket =, port)

Will these read calls trigger 3 TCP round trip or does Ruby have some
kind of buffering for receiving data ?

Thank you ! :slight_smile:


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs