#include "ltdic.h"

L_INT LDicomNet::GetSocketOptions(pOptions, uStructSize)

Gets the socket options used in a LDicomNet object. This feature is available in version 16 or higher.



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).


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


This function is used to get the socket options that will be used when calling LDicomNet::Connect on a LDicomNet object. Internally, the socket is created when calling LDicomNet::Connect.

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

Required DLLs and Libraries


Win32, x64

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

LEADTOOLS DICOM C++ Class Library Help