Skip to content

kiddchantw/socketTestTwo

Repository files navigation

socketTestTwo

CocoaAsyncSocket TCP connect test for swift 3.0


CocoaAsyncSocket TCP socket 練習


client端為傳送端
傳送方法寫在 @IBAction func sendImage(_ sender: UIButton) {}

server端為接收端
接收的部分寫最後面的 func socket(_ sock: GCDAsyncSocket, didRead data: Data, withTag tag: Int){}



完成進度

文字傳輸o
圖片傳輸o
視訊傳輸x

About

CocoaAsyncSocket TCP connect test for swift 3.0

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published