From 5d372053283de41671485f09f63a207fdf4c5719 Mon Sep 17 00:00:00 2001 From: liangdc Date: Mon, 21 Aug 2017 10:28:55 +0800 Subject: [PATCH] 20170821 --- Change-APIs.txt | 32 ++++++++++++++++++++++++++++++++ ChangeLog.txt | 45 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 77 insertions(+) diff --git a/Change-APIs.txt b/Change-APIs.txt index add46fbd6..23e559172 100644 --- a/Change-APIs.txt +++ b/Change-APIs.txt @@ -1,4 +1,36 @@ +# ======================================== # +HP-Socket v5.0.1 API 更新列表: +# ======================================== # +-------------------- +1、SYS: +-------------------- +enum En_HP_IPAddrType (增加) +struct HP_TIPAddr (增加) + +SYS_GetIPv4InAddr (删除) +SYS_GetOptimalIPByHostName (删除) +SYS_IsIPAddress (修改) +SYS_GetIPAddress (修改) +SYS_EnumHostIPAddresses (增加) +SYS_FreeHostIPAddresses (增加) + +-------------------- +2、SSL: +-------------------- +HP_SSL_Initialize (删除) +HP_SSL_Cleanup (删除) +HP_SSL_AddServerContext (删除) +HP_SSL_IsValid (删除) + +HP_SSLAgent_SetupSSLContext (增加) +HP_SSLClient_SetupSSLContext (增加) +HP_SSLServer_SetupSSLContext (增加) +HP_SSLServer_AddSSLContext (增加) +HP_SSLAgent_CleanupSSLContext (增加) +HP_SSLClient_CleanupSSLContext (增加) +HP_SSLServer_CleanupSSLContext (增加) + # ======================================== # HP-Socket v4.2.1 API 更新列表: # ======================================== # diff --git a/ChangeLog.txt b/ChangeLog.txt index d14b47a20..66b95ef3e 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,48 @@ +========================================================================================== +v5.0.1 £ +========================================================================================== + +> IPv6 ֧֣ +----------------- +1֧ͨ IPv6 +2ӿûб仯ڲͨĵַԶʶ IPv4 / IPv6 +3API £ + 1 enum En_HP_IPAddrType () + 2 struct HP_TIPAddr () + 3 SYS_GetIPv4InAddr (ɾ) + 4 SYS_GetOptimalIPByHostName (ɾ) + 5 SYS_IsIPAddress (޸) + 6 SYS_GetIPAddress (޸) + 7 SYS_EnumHostIPAddresses () + 8 SYS_FreeHostIPAddresses () + +> SSL ͨ +----------------- +1 SSL ֤֧֣ÿͨʹòͬ SSL ֤ +2ͨ󶨶 SSL Contextȡɰ汾ȫΨһ SSL Context +3API £ + 1 HP_SSL_Initialize (ɾ) + 2 HP_SSL_Cleanup (ɾ) + 3 HP_SSL_AddServerContext (ɾ) + 4 HP_SSL_IsValid (ɾ) + 5 HP_SSLAgent_SetupSSLContext () + 6 HP_SSLClient_SetupSSLContext () + 7 HP_SSLServer_SetupSSLContext () + 8 HP_SSLServer_AddSSLContext () + 9 HP_SSLAgent_CleanupSSLContext () + 10 HP_SSLClient_CleanupSSLContext () + 11 HP_SSLServer_CleanupSSLContext () + +> £ +----------------- +1Demo £ Demo ֧ IPv6 SSL Demo ֧µ֤ +2 vc-common-src 汾 v2.3.20 + +> ˵ +----------------- +1SSL Ҫ SSL Context ʼʽ +2HP-Socket v5.0.1 ȫ HP-Socket v4.x.x 汾ֱ滻 + ========================================================================================== v4.3.1 £ ==========================================================================================