call:
open func write(_ data: Data, withTimeout timeout: TimeInterval, tag: Int)
timeout > 0
Socket will disconnect when read timeout
I looked at the source code and found that this is a normal logic,not a bug
Why disconnect after reading data timeout?
I want a full-duplex data transfer
what should I do?