 extension UDPClient : PacketSender {
   
   public var available : Bool {
-    return !socket.closed
+    return socket.isActive
   }
   
   public func send(packet: OSCConvertible) {
-    try? socket.write(packet.oscValue, deadline: 1.second.fromNow())
+    // FIXME - send packet.oscValue
   }
 }
 

import UDP


// MARK: OSC packet I/O

// MARK: Two-way communication

public struct UDPBridge {
  let outSocket: Socket
  let inSocket: Socket
}


