diff options
author | Thomas Radke <tradke@aei.mpg.de> | 2001-07-02 13:55:01 (GMT) |
---|---|---|
committer | Thomas Radke <tradke@aei.mpg.de> | 2001-07-02 13:55:01 (GMT) |
commit | 917b3b765806f0281f20e7131547d0cfdaa25bd5 (patch) | |
tree | 585a1a07bed0e3687b230c36344928c782cc9029 /test/stream_test.c | |
parent | fdb35caa696abdfa348ee069c075a280713775d3 (diff) | |
download | hdf5-917b3b765806f0281f20e7131547d0cfdaa25bd5.zip hdf5-917b3b765806f0281f20e7131547d0cfdaa25bd5.tar.gz hdf5-917b3b765806f0281f20e7131547d0cfdaa25bd5.tar.bz2 |
[svn-r4092]
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/stream_test.c')
0 files changed, 0 insertions, 0 deletions