The Solaris libc has some issues with alternating input and output on sockets passed to fdopen(). Apparently there is a shared buffer which has to be emptied, either by fseek() or fflush(), whenever the direction of the data flow changes.tags/1.2
|
|
||
| 459 |
|
459 |
|
| 460 |
|
460 |
|
| 461 |
|
461 |
|
|
462 |
|
|
| 462 |
|
463 |
|
| 463 |
|
464 |
|
| 464 |
|
465 |
|
| 465 |
|
466 |
|
|
467 |
|
|
| 466 |
|
468 |
|
| 467 |
|
469 |
|
| 468 |
|
470 |
|
| 469 |
|
471 |
|
| 470 |
|
472 |
|
|
473 |
|
|
| 471 |
|
474 |
|
| 472 |
|
475 |
|
| 473 |
|
476 |
|
| 474 |
|
477 |
|
| 475 |
|
478 |
|
| 476 |
|
479 |
|
|
480 |
|
|
| 477 |
|
481 |
|
| 478 |
|
482 |
|
| 479 |
|
483 |
|