TCP,UDP Protocol on Swift