Distributed Objects in Leopard

  • Hello There,

        I have created a client/ server application which does the job
    similar to that of apple iTunes, by using distributed object and
    Bonjour.
        On the client side , I have a thread function , which  creates an
    NSConnection instance, get the server vended object and runs the
    thread runloop
        by using call [[NSRunloop currentRunloop] run].

      Though my above scenario works well in Tiger, its throwing some
    exception in Leopard (build 9B16) says as
      *** NSDistantObject initWithCoder: 0xb not given away for conn
    0x64d92e0"
    *** -[NSConcretePortCoder decodeInvocation]: no local target

      I found a similar post by Guy Meyer in the link  http://
    www.cocoabuilder.com/archive/message/cocoa/2007/11/18/193398, But I
    could see  that I have written my code in a similar way.

      I am thankfull to Guy Meyer, AurĂ©lien HugelĂ© and others to know any
    fixes to this.

      As I am new to programming, kindly sorry for me if am I doing
    anything wrong in my code.

    Please let me know if more information required on this.

    Regards,
    Abdul Majeed K




    -----------------------------------------------
    Robosoft Technologies - Come home to Technology

    Disclaimer: This email may contain confidential material. If you were not an intended recipient, please notify the sender and delete all copies. Emails to and from our network may be logged and monitored. This email and its attachments are scanned for virus by our scanners and are believed to be safe. However, no warranty is given that this email is free of malicious content or virus.
previous month january 2008 next month
MTWTFSS
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      
Go to today