Wednesday, May 22, 2013
Google Custom Search

Our Community

Membership Membership:
Latest New User Latest: jwmmd
New Today New Today: 0
New Yesterday New Yesterday: 13
User Count Overall: 28657

People Online People Online:
Visitors Visitors: 8
Members Members: 0
Total Total: 8

Online Now Online Now:

ClearCanvas Community Forums

We've moved our Developer Forums!
To better assist our open source community, we have moved our repository and developer forums to GitHub. You can access the new developer forums on our ClearCanvas GitHub issues board.

association.RemotePort --> 0
Last Post 2012-07-23 04:51 PM by stewart. 1 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages Not Resolved
art
New Member
New Member
Posts:7

--
2012-07-21 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?

 

stewart
Senior Member
Senior Member
Posts:2336

--
2012-07-23 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.
Live and real-time support available for Personal and Team Edition customers
You are not authorized to post a reply.

Active Forums 4.1
Copyright 2013 ClearCanvas Inc. All Rights Reserved