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 DLL Help

L_DicomGetSocketOptions

Show in webframe

#include "ltdic.h"

L_LTDIC_API L_INT EXT_FUNCTION L_DicomGetSocketOptions(hNet, pOptions, uStructSize)

HDICOMNET hNet;

/* a DICOM Network handle */

pDICOMSOCKETOPTIONS pOptions;

/* pointer to a structure */

L_UINT uStructSize;

/* size of the DICOMSOCKETOPTIONS structure */

Gets the socket options used in an hNet network handle. This feature is available in version 16 or higher.

Parameter

Description

hNet

A DICOM Network handle. This is the handle returned from the L_DicomCreateNet function

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

Returns

DICOM_SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

This function is used to get the socket options that will be used when calling the L_DicomConnect function on an hNet network handle. Internally, the socket is created when calling the L_DicomConnect function.

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.

Platforms

Win32, x64, Linux.

See Also

Functions:

L_DicomGetDefaultSocketOptions, L_DicomSetSocketOptions

Topics:

Working with DICOM Network Connections

 

DICOM Network Connection: Creating a Network Connection

Example

For an example, refer to L_DicomSetSocketOptions

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