GCDAsyncSocket works with IPV4 addresses :
self.socket = GCDAsyncSocket(delegate: self, delegateQueue: .main) try self.socket.connect(toHost: "192.168.0.