home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!sun-barr!ames!olivea!sgigate!sgi!wdl1!bmk
- From: bmk@box.ssd.loral.com (Bruce Krawetz)
- Newsgroups: comp.unix.wizards
- Subject: Re: RPC, Sockets and file descriptors
- Message-ID: <1993Jan12.211549.26037@wdl.loral.com>
- Date: 12 Jan 93 21:15:49 GMT
- References: <1993Jan11.141906.13294@asf.com>
- Sender: news@wdl.loral.com
- Distribution: na
- Organization: Space Systems/Loral, Palo Alto, CA USA
- Lines: 35
-
- In article <1993Jan11.141906.13294@asf.com>, jfm@asf.com (Jim Moore) writes:
- # I am looking at using XtAppAddInput in conjunction with RPC. I need a file
- # descriptor for XtAppAddInput. The documentation on RPC says that you can
- # have your own select that waits on your own descriptors, so it must be possible
- # to get the descriptor for the RPC socket. There is a lot of documentation
- # to weed through to figure out how to do it.
- #
- # Question: Does anyone out there have a C code segment that gets the file
- # descriptor of an RPC socket? If so, could you be so gracious as to send it
- # to me?
- #
- #
- # Thanks in advance,
- #
- # Jim
- #
- # --
- # Jim Moore Hughes Training Inc.
- # Phone: (612) 572-7721 5301 East River Road
- # Fax: (612) 572-7732 Mpls, Mn. 55421-1024
- # Email: jfm@asf.com USA
-
- --
-
-
- me no wizard, but me got Source Code! me LOVE archie when searching
- for 'rpcgen'. me also have man-pages, but me no read them. 8-)
-
- The functions clntudp_create() and clnttcp_create() will use any socket
- you specify, or choose (open, and return) a 'random' socket if you dont
- specify. The function clnt_control() can return the current socket.
-
-
- -------- bmk@box.ssl.loral.com --------
- We must learn from our mistakes, so that we may make bigger and better ones.
-