diff options
author | Thomas Radke <tradke@aei.mpg.de> | 2001-07-02 12:57:46 (GMT) |
---|---|---|
committer | Thomas Radke <tradke@aei.mpg.de> | 2001-07-02 12:57:46 (GMT) |
commit | 9f06972b488063ee9e36a3063751b7d9025946d0 (patch) | |
tree | 60de486f9e3cb7765ecc70b92e7387ac50093884 /test | |
parent | 8c2c4cd51cb8dd1393acad65e3f015d76bfd9563 (diff) | |
download | hdf5-9f06972b488063ee9e36a3063751b7d9025946d0.zip hdf5-9f06972b488063ee9e36a3063751b7d9025946d0.tar.gz hdf5-9f06972b488063ee9e36a3063751b7d9025946d0.tar.bz2 |
[svn-r4090]
Purpose:
Implemented port hunting
Really catch SIGPIPE signals
Description:
Port hunting allows to try and bind to a successive port number
if the port number given in the filename is already used.
Because of a stupid typo in the code, SIGPIPE wasn't catched
which might have caused the sending side to hang.
Solution:
The Stream VFD's file access property list was extended by two
elements:
- maxhunt: how many successive ports to try if the one
given in the filename is already in use
Default is not to hunt for additional ports.
- port: port number which is finally used to bind a socket
This might be different to the port number
as given in the filename if port hunting is enabled.
The H5Pget_fapl_stream() can be used to obtain
this port number.
Platforms tested:
x86 Linux, Irix 32/64 bit, Dec Alpha, Unicos on T3E, AIX on SP2
Hitachi SR8000
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions