diff --git a/OxySec/Include/xnd.h b/OxySec/Include/xnd.h index 54c4a83..3af67c1 100644 --- a/OxySec/Include/xnd.h +++ b/OxySec/Include/xnd.h @@ -559,6 +559,7 @@ This value is set inside the entry 'permission_mask' of the structure ::XND_USER #define XND_PMASK_SS_SET_TIME ((XLT_ULONG_LONG)1 << 41) //\endcond //@} +#define XN_PMASK_SS_XCORE_COMMANDS ((XLT_ULONG_LONG)1 << 48) ///< allow the user of running xCore functions /** \ingroup xnodus_defines @@ -753,7 +754,7 @@ Type of protocol to be used during the communication to the xNodus device. At pr */ #define XND_NET_PROTOCOL_UNKNOWN 0 ///< unknown protocol #define XND_NET_PROTOCOL_TCP 1 ///< TCP basic xNodus protocol -#define XND_NET_PROTOCOL_UDP 2 ///< UDP basic xNodus protocol +#define XND_NET_PROTOCOL_UDP 2 ///< UDP basic xNodus protocol (default) //@} @@ -763,7 +764,7 @@ Type of protocol to be used during the communication to the xNodus device. At pr Create a ::XND_NET_DATA handle. \param[in] env xNodus environment handle (see xnd_xlt_env_create()). \param[in] addr_port a pointer to the null terminated name of the host to resolve and the port expressed as \.\. -\param[in] protocol_type the communication protocol type to be used. If the value is set to zero the default ::XND_NET_PROTOCOL_TCP is used. +\param[in] protocol_type the communication protocol type to be used. If the value is set to zero the default ::XND_NET_PROTOCOL_UDP is used. \param[in] recv_to_msec the timeout for getting answer from the xNodus device. \param[out] p_status points to an integer that will receive the status of the operation: ::XND_ERROR_SUCCESS on success, an \ref xnodus_errors "error code" on failure. \return a ::XND_NET_DATA handle. @@ -779,7 +780,7 @@ XND_LINK XND_NET_DATA XND_API xnd_net_data_create_from_addr_port(XND_XLT_ENV env Create a ::XND_NET_DATA handle and immediately resolve the address. \param[in] env xNodus environment handle (see xnd_xlt_env_create()). \param[in] addr_port a pointer to the null terminated name of the host to resolve and the port expressed as \.\. -\param[in] protocol_type the communication protocol type to be used. If set to zero the default value is used (::XND_NET_PROTOCOL_TCP). +\param[in] protocol_type the communication protocol type to be used. If set to zero the default value is used (::XND_NET_PROTOCOL_UDP). \param[in] recv_to_msec the timeout for getting answer from the xNodus device. If set to zero the default value is used (5000 msec). \param[out] p_status points to an integer that will receive the status of the operation: ::XND_ERROR_SUCCESS on success, an \ref xnodus_errors "error code" on failure. \return a ::XND_NET_DATA handle. @@ -798,7 +799,7 @@ Create a ::XND_NET_DATA handle. It represent an xNodus device in the local netwo \param[in] port the TCP/IP port used by the searched xNodus device. \param[in] label the xNodus label of the searched device. If a NULL pointer is set the label is ignored and any found device is considered regardless the label. \param[in] search_timeout_msec the maximum time expressed in millisecond that the searching procedure may take. If this value is set to zero there is no such limit. -\param[in] protocol_type the communication protocol type to be used. If set to zero the default value is used (::XND_NET_PROTOCOL_TCP). +\param[in] protocol_type the communication protocol type to be used. If set to zero the default value is used (::XND_NET_PROTOCOL_UDP). \param[in] recv_to_msec the timeout for getting answer from the xNodus device. If set to zero the default value is used (5000 msec). \param[out] p_status points to an integer that will receive the status of the operation: ::XND_ERROR_SUCCESS on success, an \ref xnodus_errors "error code" on failure. \return a ::XND_NET_DATA handle. @@ -814,7 +815,7 @@ Create a ::XND_NET_DATA handle and immediately search an xNodus device in the lo \param[in] port the TCP/IP port used by the searched xNodus device. \param[in] label the xNodus label of the searched device. If a NULL pointer is set the label is ignored and any found device is considered regardless the label. \param[in] search_timeout_msec the maximum time expressed in millisecond that the searching procedure may take. If this value is set to zero there is no such limit. -\param[in] protocol_type the communication protocol type to be used. If set to zero the default value is used (::XND_NET_PROTOCOL_TCP). +\param[in] protocol_type the communication protocol type to be used. If set to zero the default value is used (::XND_NET_PROTOCOL_UDP). \param[in] recv_to_msec the timeout for getting answer from the xNodus device. If set to zero the default value is used (5000 msec). \param[out] p_status points to an integer that will receive the status of the operation: ::XND_ERROR_SUCCESS on success, an \ref xnodus_errors "error code" on failure. \return a ::XND_NET_DATA handle. @@ -831,7 +832,7 @@ XND_LINK XND_NET_DATA XND_API xnd_net_data_create_resolving_local_search(XND_XLT Create a XND_NET_DATA handle from an IPv4 address. \param[in] env xNodus environment handle (see xnd_xlt_env_create()). \param[in] sock_addr a pointer to a ::XND_SOCK_ADDR struct. -\param[in] protocol_type the communication protocol type to be used. If set to zero the default value is used (::XND_NET_PROTOCOL_TCP). +\param[in] protocol_type the communication protocol type to be used. If set to zero the default value is used (::XND_NET_PROTOCOL_UDP). \param[in] recv_to_msec the timeout for getting answer from the xNodus device. If set to zero the default value is used (5000 msec). \param[out] p_status points to an integer that will receive the status of the operation: ::XND_ERROR_SUCCESS on success, an \ref xnodus_errors "error code" on failure. \return a ::XND_NET_DATA handle. diff --git a/OxySec/Lib/x32/xnodus32.obj b/OxySec/Lib/x32/xnodus32.obj index 67765e4..291e52e 100644 Binary files a/OxySec/Lib/x32/xnodus32.obj and b/OxySec/Lib/x32/xnodus32.obj differ diff --git a/OxySec/Lib/x64/xnodus.obj b/OxySec/Lib/x64/xnodus.obj index edabee8..ca979cc 100644 Binary files a/OxySec/Lib/x64/xnodus.obj and b/OxySec/Lib/x64/xnodus.obj differ