Gets the default socket options. This feature is available in version 16 or higher.
#include "ltdic.h"
L_LTDIC_API L_INT EXT_FUNCTION L_DicomGetDefaultSocketOptions(hNet, pOptions, uStructSize)
A DICOM Network handle. This is the handle returned from the L_DicomCreateNet function
Pointer to a structure that contains the options to used when creating a socket for DICOM communication
Size in bytes, of the structure pointed to by pOptions, for versioning. Use sizeof(DICOMSOCKETOPTIONS).
Value | Meaning |
---|---|
DICOM_SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
This function is used to get the default socket options that will be used when calling the L_DicomConnect function on an hNet network handle. The default socket options are the options used if you call the L_DicomConnect function without first calling the L_DicomSetSocketOptions function.
This function always returns the same values. This function is different from the L_DicomGetSocketOptions function, which returns the socket options used when the L_DicomSetSocketOptions function was last called.
Internally, the socket is created when calling the L_DicomConnect function.
For more information about sockets, see the MSDN Winsock documentation.
Win32, x64, Linux.
For an example, refer to L_DicomSetSocketOptions.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.