#include "ltdic.h"
L_INT LDicomNet::GetSocketOptions(pOptions, uStructSize)
pDICOMSOCKETOPTIONS pOptions; |
pointer to a structure |
L_UINT uStructSize; |
size of the DICOMSOCKETOPTIONS structure |
Gets the socket options used in a LDicomNet object. This feature is available in version 16 or higher.
Parameter |
Description |
pOptions |
Pointer to a structure that contains the options to used when creating a socket for DICOM communication |
uStructSize |
Size in bytes, of the structure pointed to by pOptions, for versioning. Use sizeof(DICOMSOCKETOPTIONS). |
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
This method 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
LTDIC For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
Win32, x64
Functions: |
LDicomNet::GetDefaultSocketOptions, LDicomNet::SetSocketOptions, Class Members |
Topics: |
|
|
For an example, refer to LDicomNet::SetSocketOptions.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET