SwiftSocket
SwiftSocket copied to clipboard
How check availability of data to read?
When I try to receive data from UDP socket and no data exist in port, the program wait until it read data. But what do if I don't know whether data exist on UDP port.