             Build socket to poll flags map from provided sockets and poll items
          */
         private func buildSocketPollFlagsMap(
-            sockets   : [(Socket, PollFlags)],
             pollItems : UnsafeMutablePointer<zmq_pollitem_t>
         ) -> [Socket: PollFlags]
         {

            }

            // Build hash map [Socket: PollFlags]
            let map = buildSocketPollFlagsMap(
                sockets   : sockets,
                pollItems : pollItems
            )

            // Cleanup poll items
            pollItems.deallocate(capacity: sockets.count)

        /**
            Build poll items from a supplied list of socket flags
         */
        private func buildPollItems() -> UnsafeMutablePointer<zmq_pollitem_t>
        {
            let pollItems = UnsafeMutablePointer<zmq_pollitem_t>.allocate(
              capacity: sockets.count
