connectattach - remote node

hello,
i have some problems with connectattach . When Im trying to use this function on remote node it connects with second process and returns value > 0 even if second process is not running. This function should return -1 but it doesnt. It happends only when im trying to connect with process on remote node, if process that uses CreateChannel is on the same node everything is fine… Whats wrong? sorry for my english ;)

This is how it designed working cross network. Below is quoted from the ConnectAttach() reference.

“The connection is strictly local (i.e. it doesn’t resolve across the network) and is resolved on the first use of the connection ID.”