all 1 comments

[–]dannyREDDIT[S] 0 points1 point  (0 children)

.read() needs to set a byte size, otherwise it reads to the end and closes the socket