We are attempting to use GDCM via python to issue some C-MOVE messages to send images from one node to another. What we have found is that when making the call to gdcm::CompositeNetworkFunctions::CMove, it will spawn a local listener and wait for an incoming connection to occur.
In our case, the destination AET for the C-MOVE is not that of the local scp so the listener is waiting and drops the association after a 20sec timeout and returns an error code.
We had looked at reimplementing the function in python, but the internal functions used by CMove are not exposed in python.
It would be nice if there was a way to either expose the underlying function calls or to allow the CMove to be made so that it does not always expect to be the image recipient.
Thanks kindly!