Tom Lane wrote:
>Andrew Dunstan <andrew@dunslane.net> writes:
>
>
>>This patch attempts to implement the idea, with safety in case the
>>packet is not immediately available.
>>
>>
>
>Seems like you ought to be testing for failure returns from send() and
>recv().
>
Good point. will do.
>Also, what of EINTR from select()?
>
>
>
It will fail. Not sure what else it should do - I'm open to suggestions.
Retry?
cheers
andrew