LEADTOOLS DICOM C++ Class Library Help > LEADTOOLS DICOM Features > DICOM Files > DICOM Encapsulated Documents > Used Structures > DICOMSOCKETOPTIONS |
typedef struct tagDICOMSOCKETOPTIONS
{
L_UINT uStructSize;
L_INT nSendBufferSize;
L_INT nReceiveBufferSize;
L_BOOL bNoDelay;
L_UINT uReserved1;
L_UINT uReserved2;
} DICOMSOCKETOPTIONS, *pDICOMSOCKETOPTIONS;
The DICOMSOCKETOPTIONS structure provides information for getting and setting the socket options used in the DICOM communications.
Member |
Description |
uStructSize |
The size of the structure (use sizeof(DICOMSOCKETOPTIONS) ). |
nSendBufferSize |
Value that specifies the total per-socket buffer space reserved for sends. |
nReceiveBufferSize |
Value that specifies the total per-socket buffer space reserved for receives. |
bNoDelay |
Disables the Nagle algorithm for send coalescing. This socket option is included for backward compatibility with Windows Sockets 1.1 |
uReserved1 |
Reserved for future use. Pass 0. |
uReserved2 |
Reserved for future use. Pass 0. |
Comments
It is used for customizing the socket behavior used internally with the DICOM communications methods. For more information, see Microsoft Winsock documentation.
This structure is used with the following functions
LDicomNet::GetDefaultSocketOptions