priestjim / gen_rpc

A scalable RPC library for Erlang-VM based languages
Apache License 2.0
221 stars 81 forks source link

Move some duplicate code to util & headers #14

Closed linearregression closed 9 years ago

linearregression commented 9 years ago

Remark: The actual version check of an OTP release is recommended to be done through file reads: http://www.erlang.org/doc/system_principles/versions.html But reltool doesn't generate these files for example. OTP release does not guarantee that options exists (older versions of kernel or inet for whatever reasons).

priestjim commented 9 years ago

The reason this version check is being done is for a simple TCP option so the current implementation is good enough. Also, I would have named the util module gen_rpc_helpers. Great work!