Do you have a question?

First Name:
Get Audio Code

association.RemotePort --> 0
Last Post 23 Jul 2012 04:51 PM by stewart. 1 Replies.
Printer Friendly
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages Not Resolved
Beat AUser is Offline
New Member
New Member

21 Jul 2012 11:07 AM  

In a QueryRetrieve environment I want to send some images back to the calling workstation:

pacs = New StorageScu(association.CalledAE, association.CallingAE, GetRemoteHostName(association), association.RemotePort)

Unfortunately "association.RemotePort is always Zero (0). Is there another function which gives back the port of the workstation calling?


stewartUser is Offline
Veteran Member
Veteran Member

23 Jul 2012 04:51 PM  
No, the remote port cannot be determined from the incoming connection/association. The ClearCanvas ImageServer, for example, simply assumes any AEs it doesn't recognize are listening on port 104. If that's not the case, the send operation will fail until you go and change the port in the ImageServer's device table.

You will have to do something similar and either assume a port#, or allow it to be configured.
You are not authorized to post a reply.

Active Forums 4.1