Moving Unix applications to Windows when using RPC

Article ID: 771
Last updated: 01 Feb, 2008
Article ID: 771
Last updated: 01 Feb, 2008
Revision: 1
Views: 2588
Posted: 12 Mar, 1999
by Dean J.
Updated: 01 Feb, 2008
by Dean J.
Problem


Moving RPC-based Unix applications to Windows


Cause


A common mistake in migrating Unix clients to windows is omitting the initialization and cleanup routines needed for the Windows/WinSock environment.




Action


_rpc_init() and _xdr_makeprocs() must precede _open_transport(). In addition, _xdr_freeprocs() and _rpc_exit() must follow _close_transport().

This article was:   Helpful | Not helpful
Report an issue
Article ID: 771
Last updated: 01 Feb, 2008
Revision: 1
Views: 2588
Posted: 12 Mar, 1999 by Dean J.
Updated: 01 Feb, 2008 by Dean J.

Others in this category