home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.protocols.nfs:3090 comp.sys.sun.apps:2953 comp.protocols.tcp-ip:5942
- Newsgroups: comp.protocols.nfs,comp.sys.sun.apps,comp.protocols.tcp-ip
- Path: sparky!uunet!spool.mu.edu!uwm.edu!zaphod.mps.ohio-state.edu!cs.utexas.edu!lgc.com!lgc.com!danson
- From: danson@lgc.com (Doug Anson)
- Subject: Re: RPCGEN with inetd
- Message-ID: <1993Jan12.175305.25210@lgc.com>
- Sender: usenet@lgc.com
- Nntp-Posting-Host: voodoo.lgc.com
- Organization: LandMark Graphics Corporation LGC
- References: <1iusmnINNa3g@usenet.INS.CWRU.Edu>
- Date: Tue, 12 Jan 1993 17:53:05 GMT
- Lines: 74
-
- In article <1iusmnINNa3g@usenet.INS.CWRU.Edu>, edvax@pyrite.som.cwru.edu (Ed Reznichenko) writes:
- |>
- |> The following is posted for a co-worker. Email responses to me, and I
- |> will pass them along.
- |>
- |> Thank you,
- |>
- |> --ed
- |>
- |> Internet: edvax@pyrite.som.cwru.edu
- |> UUCP: uunet!pyrite.som.cwru.edu!edvax
- |>
- |> ----- begin included message -----
- |> TOPIC: inetd rpc applications
- |> HARDWARE: SPARC
- |> OS: SunOS 4.1.1
- |>
- |> Given that rpcgen -I fails to produce correct code for inetd-tcp-nowait
- |> entries, does anyone happen to have tested server stubs used for
- |> inetd-tcp-nowait entries that they would be willing to share?
- |>
- |> Also, the last Stevens text on page 339 says that there are no 4.3BSD
- |> inetd-tcp-wait flag applications. Does anyone know if this remains
- |> true?
- |>
- |> In order to simulate concurrent servers, we are considering defining
- |> <n> inetd-tcp-wait servers with clients randomly selecting a server
- |> with a uniform distribution, and hoping client time-outs are
- |> sufficient to account for delays. Does anyone have opinions to offer
- |> on this?
- |>
- |> Any help with this problem would be appreciated.
- |> --------
- |>
- |>
- |> Following is the rpcgen bug report we discovered painfully late after many
- |> futile attempts at creating an inetd-tcp-nowait entry:
- |>
- |> Bug Id: 1065359
- |> Category: doc
- |> Subcategory: network
- |> Release summary: 4.1.1
- |> Synopsis: rpcgen -I does not work together with nowait servers
- |> Integrated in releases: 5.0
- |> Summary:
- |> rpcgen -I produces rpc-code which could only be used for server
- |> with the flag wait in /etc/inetd.conf. This is neither
- |> documented in the man-page of rpcgen nor in the RPC-Programming
- |> Manual.
- |>
- |>
- |> ----- end included message -----
- |> --
- |> Bus error, core dumped
-
- Furthermore, I would like to add that rpcgen -I doesnt produce stubs that can
- be used for TCP RPC servers -- I cant seem to get the RPC handle to the
- exec'ed server from my super server.
-
- BTW, I was able to get nowait TCP servers running -- I really dont remeber doing
- anything "special" to get them to work -- the stubs seem to work fine.
-
- Doug
-
- --
- -------------------------------------------
- Doug Anson
- Internet: danson@lgc.com
- Phone: 713.560.1274
- FAX: 713.560.1277
- SNAIL: Landmark Graphics Corporation LGC
- 15150 Memorial Drive
- Houston, TX 77079
- -------------------------------------------
-