         }
         
         
-        #if os(macOS) || os(iOS)
+        #if (os(macOS) || os(iOS)) && !OPENSSL
             var val = 1
             setsockopt(self.plainClient, SOL_SOCKET, SO_NOSIGPIPE, &val, socklen_t(MemoryLayout<Int>.stride))
             

import Foundation
import Dispatch

#if os(macOS) || os(iOS)
    import Security
    import Darwin
#else
    import KittenCTLS
    import Glibc

                }
            #endif
        } else {
            #if (os(macOS) || os(iOS))
                guard Darwin.send(self.plainClient, binary, binary.count, 0) == binary.count else {
                    throw Error.cannotSendData
                }
