Control over the character encoding of strings has been added to both clients and servers. The support for JBuilder project files has been dropped. Instead, a project file for the Eclipse IDE is now included.
Code generation bugs in jrpcgen were fixed, so that elements from enumerations can now be used as program numbers. Moreover, if a port number is explicitly given to the constructor of a server object, it is not ignored anymore. Two new jrpcgen command line options give more control over the code generation process: method stubs on the server side can now optionally take a call information parameter, which is useful for authentication, et cetera.
This release contains two bugfixes in the jrpcgen protocol compiler. The first fix solves a problem which occurs with remote functions containing multiple parameters and one or more parameters being enums. The second fix solves a bug which caused certain enumeration constants not being dumped to the generated source code in the presence of dependencies.
jrpcgen was improved so that it now generates code
with iteration loops for XDR structs which contain
tail references to themselves. A race condition in
the listening thread for TCP-based ONC/RPC servers
was corrected. An additional constructor was added
to the classes OncRpcTcpServerTransport and
OncRpcUdpServerTransport that now accepts a local
binding address.
The portmapper client object has been enhanced to
use both UDP and TCP. A new constructor was added
to TCP-based ONC/RPC clients which carries out a
user-controlled connect(). (The timeout can be
controlled by the calling application.) The
version information in OncRpcConstants was finally
corrected.