Operating System - HP-UX
1825678 Members
3689 Online
109686 Solutions
New Discussion

SIGPIPE if socket is full

 
Johann Fischer
New Member

SIGPIPE if socket is full

our print application get a SIGPIPE signal after 3 minutes if the socket is full on HP-UX 11.11. The connection is still established and the printer send a TIMED package each 15 seconds but the application hangs in a write system call. After receiving the SIGPIPE signal we suppose the connection was broken. Is there any timer in the tcp system to modify such a behaviour?
3 REPLIES 3
Steve Steel
Honored Contributor

Re: SIGPIPE if socket is full

Hi


Look at ndd


ndd(1M) ndd(1M)

NAME
ndd - network tuning

SYNOPSIS
ndd -get network_device parameter

ndd -set network_device parameter value

ndd -h sup[ported]

ndd -h unsup[ported]

ndd -h [parameter]

ndd -c

DESCRIPTION
The ndd command allows the examination and modification of several
tunable parameters that affect networking operation and behavior.


regards

steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Johann Fischer
New Member

Re: SIGPIPE if socket is full

Hi

the ndd command shows no parameter which is related to a socket timeout. There are some description in /usr/include/sys/socket.h and socketvar.h but I don't know the value.
socket.h:#define SO_SNDTIMEO 0x1005 /* send timeout */

socketvar.h: short so_snd_timeo; /* send timeout (not used yet) */
Johann Fischer
New Member

Re: SIGPIPE if socket is full

Problem was outside of HP-UX software