  */
 }
 
-/*
 let NWSSL_HANDSHAKE_TRY_COUNT = 1 << 26
-func NWSSLRead(connection: SSLConnectionRef, data: Void, length: size_t) -> OSStatus {
-    var leng: size_t = length
+
+//(SSLConnectionRef, UnsafeMutableRawPointer, UnsafeMutablePointer<Int>)
+func NWSSLRead(connection: SSLConnectionRef, data: UnsafeMutableRawPointer, length: UnsafeMutablePointer<Int>) -> OSStatus {
+    /*var leng: size_t = length
     length = 0
     var read: size_t = 0
     var rcvd: ssize_t = 0

//  Copyright (c) 2012 noodlewerk. All rights reserved.
//
import Foundation
/** An SSL (TLS) connection to the APNs.

 This class is basically an Objective-C wrapper around `SSLContextRef` and `SSLConnectionRef`, which are part of the native Secure Transport framework. This class provides a generic interface for SSL (TLS) connections, independent of NWPusher.

            return errSSLWouldBlock
        case EPIPE:
            return errSSLClosedAbort
    }*/
    return errSecIO
}
 
