// basic connection, must call either NewServerConn or NewClientConn
basic connection, must call either NewServerConn or NewClientConn
// basic connection must call either NewServerConn or NewClientConn
func newConn(ctx *Context, conn net.Conn) (*Conn, error) {
	self := &Conn{ssl: NewSSL(ctx),
		bio:  NewBIO(BIOConn()),
		conn: conn}
	self.bio.SetAppData(self)
	self.ssl.SetBIO(self.bio, self.bio)
	return self, nil
}
func newConn ( ctx * Context , conn net . Conn ) ( * Conn , error ) { self := & Conn { ssl : NewSSL ( ctx ) , bio : NewBIO ( BIOConn ( ) ) , conn : conn } self . bio . SetAppData ( self ) self . ssl . SetBIO ( self . bio , self . bio ) return self , nil }
basic connection, must call either NewServerConn or NewClientConn
basic connection must call either NewServerConn or NewClientConn