Connect method (ILEADDicomNet)
short Connect (BSTR pszHost, long lHostPort, BSTR pszPeer, long lPeerPort); | |
Overview |
Refer to Working with DICOM Network Connections. |
Remarks
(Medical Imaging Suite only) Connects an SCU to an SCP.
If pszHostAddress is "" or NULL, the IP address will be the local computer's address.
If nHostPort is 0, the port number will be the number of the first available port.
To connect to an SCP as an SCU, you must first create and initialize a handle to the DICOM Network using the StartUp method. Then call the Connect method to establish the connection.
To use your computer as an SCP, you must first create and initialize a handle to the DICOM Network using the StartUp method. Then call the Listen method to listen for incoming connection requests.
When an SCU calls this function, it generates a NetAccept event on the SCP.
See Also
Elements: |
|
Topics: |