                 to.label = "-> \(label)"
                 from.label = "<- \(label)"
 
-//                if label == "surrogate" {
-//                    var flags = fcntl( to.clientSocket, F_GETFL, 0 )
-//                    flags |= O_NONBLOCK
-//                    fcntl( to.clientSocket, F_SETFL, flags )
-//                }
+                #if !os(Linux)
+                if label == "surrogate" {
+                    var flags = fcntl( to.clientSocket, F_GETFL, 0 )
+                    flags |= O_NONBLOCK
+                    fcntl( to.clientSocket, F_SETFL, flags )
+                }
+                #endif
 
                 readMap[from.clientSocket] = to
                 readMap[to.clientSocket] = from

    return (set.memory & (1<<(fd&selectBitMask))) != 0
}

//@asmname("fcntl")
//func fcntl( filedesc: Int32, _ command: Int32, _ arg: Int32 ) -> Int32

/**
    More efficient than relying on operating system to handle many reads on different threads when proxying

//  Created by John Holdsworth on 20/06/2015.
//  Copyright (c) 2015 John Holdsworth. All rights reserved.
//
//  $Id: //depot/Dynamo/Sources/Proxies.swift#5 $
//
//  Repo: https://github.com/johnno1962/Dynamo
//
