Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS DICOM C++ Class Library Help

DICOMSOCKETOPTIONS

Show in webframe

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::SetSocketOptions

LDicomNet::GetSocketOptions

LDicomNet::GetDefaultSocketOptions

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.