🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.programmer
Article #3690

RPC dispatch routine question

#3690
From: Tim Weilkiens
Date: Tue, 09 Jan 1996 00:00
18 lines
1430 bytes
Hey everybody !!!

I try to write a RPC Server in Objective-C. I have the problem that
the svc_register function needs the dispatch routine as an argument.

My dispatch routine is a method of the server class. I do not know the syntax
to use the method dispatch as an argument for svc_register. The type must be
(void *). It is possible in C++, so I think that it is possible in Objective-C too.

Thanks for any help.

Tim

>>> All of my life - in a world so unfair (GENESIS, 1992) <<<
**************************************************************
*   Tim Weilkiens, Kiel (Germany), tim@xplora.toppoint.de    * 
*   WWW: http://oekoalpha.pz-oekosys.uni-kiel.de/~tim-w      *
**************************************************************
Technical Details
Message-ID: <28Hywp$00T@kiel.netsurf.de>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,590dad50056f1945,start
X-Google-Attributes: gid11318c,public
X-Google-Thread: 1111a3,590dad50056f1945,start
X-Google-Attributes: gid1111a3,public
X-Google-Thread: fc89c,590dad50056f1945,start
X-Google-Attributes: gidfc89c,public
From: Tim.Weilkiens@netsurf.de (Tim Weilkiens)
Subject: RPC dispatch routine question
Date: 1996/01/09
Message-ID: <28Hywp$00T@kiel.netsurf.de>
X-Deja-AN: 134431306
distribution: world
organization: private organization
x-nntpdaemon: changi 0.9 for OS/2
reply-to: Tim.Weilkiens@kiel.netsurf.de
newsgroups: comp.unix.programmer,gnu.gcc.help,comp.lang.objective-c