DicomObjects Reference
DicomObjects Reference / DicomImage Object / Send Method
Network address (as dotted notation or resolvable name) to which the image is to be sent.
Port on which remote application is listening.
Name of remote Application Entity.
Name to quote for this Application Entity.
Send Method
Description
Sends an Image to a remote DICOM application
Syntax
Visual Basic
Public Function Send( _
   ByVal Node As String, _
   ByVal Port As Integer, _
   ByVal CallingAE As String, _
   ByVal CalledAE As String _
) As Long
Parameters
Node
Network address (as dotted notation or resolvable name) to which the image is to be sent.
Port
Port on which remote application is listening.
CallingAE
Name of remote Application Entity.
CalledAE
Name to quote for this Application Entity.
Return Type

Long

The status as returned by the remote application.  Zero indicates success.

Remarks
This method negotiates an association, sends one image/dataset over it, and then closes it.  DICOM does not allow SCPs to draw any conclusions about the relationships between images based on the opening and closing of associations, so this should never be a problem (apart from slight network inefficiency).  However, there are several badly written applications in the world, which incorrectly assume that the end of an association indicates the end of a series or a study etc., and if interfacing to such a faulty implementation, it is possible to send multiple images on one association by using a DicomConnection object, and its SendImages method.
See Also