Can 'recv' return EPIPE?

  • Follow


Dear All!

May system call 'recv' return -1 and set errno to EPIPE?
In what case? Perhaps when TCP RST received?
Which standard allows this?
0
Reply Lorinczy 1/9/2004 8:18:40 PM

No (at least not in a system that I've come across).

Lorinczy Zsigmond / Domonyik Mariann wrote:
> Dear All!
> 
> May system call 'recv' return -1 and set errno to EPIPE?
> In what case? Perhaps when TCP RST received?
> Which standard allows this?
0
Reply Robert 1/9/2004 9:15:39 PM


Lorinczy Zsigmond / Domonyik Mariann wrote:
 
> May system call 'recv' return -1 and set errno to EPIPE?
> In what case? Perhaps when TCP RST received?
> Which standard allows this?

To answer myself, this is possible in Siemens BS2000-Sockets,
this is documented behaviour, so it is not bug but feature...
0
Reply Lorinczy 1/10/2004 3:59:35 PM

2 Replies
497 Views

(page loaded in 0.048 seconds)

Similiar Articles:













7/23/2012 9:58:11 AM


Reply: