If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
Has anyone had any success using NSConnection to get distant objects over the network? I have been able to get it to work between program on the same system with the host name being nil but as soon as I try to use any actual host name it doesn't work.
That was what I thought but it didn't work. I have tried (while testing to connect to myself as if I were not on this machine) "localhost", my domain name and my IP. No luck, though.
I found out what one of the problems was but I still have another. I was having a problem before because I was implicitly using NSPort objects for the connection where remote connections demand the use of NSSocketPort objects. Now that I have fixed that, I am getting a new problem.
Whenever I try to connect to the server of a DO I get this message when I try to send the "rootProxy" message to the DO:
[NSPortCoder sendBeforeTime:sendReplyPort:] timed out
I can't figure out how to avoid this problem and I can't find that "sendBeforeTime:sendReplyPort:" method in the NSSocketPort class or any of the classes that it inherits from.