twitter-archive / CocoaSPDY

SPDY for iOS and OS X
Apache License 2.0
2.39k stars 233 forks source link

Using SPDY, Is it possible to use UDT as the transport layer. #101

Closed Rajitha-Gangam closed 9 years ago

Rajitha-Gangam commented 9 years ago

Hi, SPDY uses TCP as the underlying transport layer, Is it possible to use UDT as the underlying transport layer. If possible, Please provide the sample code.

Thanks

kgoodier commented 9 years ago

From a technical standpoint of CocoaSPDY, it is not possible today. However, SPDYSocket.m/.h, which manages both queueing/reading/writing of data, and the TCP stream I/O, exposes a fairly small API surface to the other layers. It could be swapped out with a UDT-based version, I suppose.