         else
         {
             delegateClient?.sendInitial(socket:socket)
+            
+            do
+            {
+                try socket?.beginReceiving()
+            }
+            catch let error
+            {
+                print("problem begin: \(error.localizedDescription)")
+            }
             
             return
         }

        reply.append("host-supported-device:PS Vita, PS Vita TV\r\n")
        reply.append("\0")
        
        print(reply)
        
        let data:Data? = reply.data(
        using:String.Encoding.utf8, allowLossyConversion:false)
        

    
    func reply() -> Data?
    {
        let reply:String = "SRCH3 * HTTP/1.1\r\ndevice-id:681401e7aed401010101010101010101\r\ndevice-type:PS Vita\r\ndevice-class:0\r\ndevice-mac-address:681401e7aed4\r\ndevice-wireless-protocol-version:01000000\r\n\r\n"
        
        let data:Data? = reply.data(
            using:String.Encoding.utf8, allowLossyConversion:false)
