Hi,
We are using -[NSURLSession streamTaskWithHostName:port] for our customized socket application. We would like to tune our application's performance by setting the NSURLRequestNetworkServiceType of NSURLSessionConfiguration associated with this NSURLSession.
However, based on https://developer.apple.com/documentation/foundation/nsurlrequestnetworkservicetype?language=objc, we have no idea what does each configuration mean.
For example:
1. NSURLNetworkServiceTypeCallSignaling: does this mean this is specialized for the control signal of VOIP application. What if we use this flag even if we are not signaling of a VOIP? Is this flag optimized for sending of small packet over the network or large chunk of bytes?
2. NSURLNetworkServiceTypeResponsiveData: we did a test with this flag too. Where we continous send 100 small messages every 500ms to an echo server and measures the latency till we get response from the server. Howerver, we don't see too much difference with or without this flag. So curious what this flag really mean?
Thanks,