swiftsocket/SwiftSocket

Can we have a delegate or closure that reporting whenever the server sending data to clients?

freyzou opened this issue · 1 comments

As a tcp client, I don't want to continually read data using a infinite while loop, instead, I think it would be better to listen and read.

By the way, I'm a newbie for socket. Can someone give me a best pratice to handle this condition.