) (08/16/89)
I've recently acquired the version 4.0 public domain source code for Sun RPC. When attempting to port this code to an ATT environment, we've run into one stumbling point concerning registerrpc(). The registerrpc() routine appears to select a port number and socket address and then verify its accessibility. The problem arises in the value of the 'rm_direction' field initialized by clntudp_create() and checked in clntudp_call(). The initial value is set to CALL by the create routine. The clntudp_call() routine calls xdr_replymsg() to verify the data that was received (sent) to the socket. This function expects the 'rm_direction' field to have the value REPLY. It appears from our testing that the value at the xdr_replymsg() function is still set to CALL. Our question: How, or does, the 'rm_direction' field get set to REPLY? Any input would be greatly appreciated. Thanks. Fred Werbel fwerbel@dhl.com Voice: (703) 749-2206 Snail Mail: NetExpress Communications 1953 Gallows Rd Vienna, VA 22182 Disclaimers: so it is written, so let it be disclaimed. uucp: uunet!netxcom!fwerbel Fred Werbel