pfi/pficommon — pull request #9 by kuenishi (2011-12-19 07:28:53+00:00)
Title: timeout in mprpc

currently pfi::network::mprpc server and client both uses timeout_sec only for setsockopt(2). but in fact their read and write loop are in while(true) loop and not checking time consumed for read/write. so I added timeout checking in object_stream

* add double timeout_sec argv to constructor of rpc_stream
* use pfi::system::time_util in object_stream::read and object_stream::write