         return address
     }
     
-    class func hostnameToIP(host: String) -> String? {
+    public class func hostnameToIP(host: String) -> String? {
         
         var ip : String?
         

     - parameter data:  发送的数据 NSData
     - parameter block: 发送结果; status:发送状态true=成功,false=失败;  code:sendto()函数的返回值
     */
    func sendtoData(ip: String, port: UInt16, data: NSData, block: (status: Bool, code: Int)->Void) -> Void {
        
        dispatch_async(CCHSocketQueue.concurrent_queue) {
            

}

/// 队列
public struct CCHSocketQueue {
    
    /// 串行队列
    public static let serial_queue = dispatch_queue_create("cch_scoket_serial_queue", DISPATCH_QUEUE_SERIAL)
    /// 并行队列
    public static let concurrent_queue = dispatch_queue_create("cch_scoket_concurrent_queue", DISPATCH_QUEUE_CONCURRENT)
    /// 任务组
    public static let group = dispatch_group_create()
}

/// 地址
public class Address {
    
    public class func addressStringToSockaddr(ip: String, port: UInt16) -> sockaddr
    {
        var address = sockaddr()
        memset(&address, 0, strideofValue(address))
