title: How to implement UDP client and send data in Swift on iPhone?
body: <p>I want to develop UDP client and send data in Swift.</p>
  
  <p>I have reference the following link:</p>
  
  <p><a href="https://stackoverflow.com/questions/26790129/swift-receive-udp-with-gcdasyncudpsocket">Swift: Receive UDP with GCDAsyncUdpSocket</a></p>
  
  <p><a href="https://stackoverflow.com/questions/25824480/retrieving-a-string-from-a-udp-server-message">Retrieving a string from a UDP server message</a></p>
  
  <p><a href="https://stackoverflow.com/questions/25876189/swift-udp-connection">Swift UDP Connection</a></p>
  
  <p>But I could not find a good way to implement <code>UDP</code> in <code>Swift</code>.</p>
  
  <p>Can someone teach me <strong>How to implement UDP client and send data in Swift  on iPhone?</strong></p>