L_DicomGetSocketOptions

Summary

Gets the socket options used in an hNet network handle. This feature is available in version 16 or higher.

Syntax

#include "ltdic.h"

L_LTDIC_API L_INT EXT_FUNCTION L_DicomGetSocketOptions(hNet, pOptions, uStructSize)

Parameters

HDICOMNET hNet

A DICOM Network handle. This is the handle returned from the L_DicomCreateNet function

pDICOMSOCKETOPTIONS pOptions

Pointer to a structure that contains the options to used when creating a socket for DICOM communication

L_UINT uStructSize

Size in bytes, of the structure pointed to by pOptions, for versioning. Use sizeof(DICOMSOCKETOPTIONS).

Returns

Value Meaning
DICOM_SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

This function is used to get the socket options that will be used when calling the L_DicomConnect function on an hNet network handle. Internally, the socket is created when calling the L_DicomConnect function.

For more information about sockets, see the MSDN Winsock documentation.

Required DLLs and Libraries

Platforms

Win32, x64, Linux.

See Also

Functions

Topics

Example

For an example, refer to L_DicomSetSocketOptions.

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS DICOM C API Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.