On Wed, Dec 17, 1997 at 09:22:51PM -0800, Guy Maor wrote: > According to Stevens on page 300, writev is atomic, so I would regard > Linux's behavior as a bug.
On one tty I start wserv, the offending program with the writev: @chimchim [/usr/lib/epic4] $ ./wserv chimchim 9000 On another, a 'server': @chimchim [~] $ nc -l -p 4000 /dev/ttyp6 There is a newline, it's transmitted fine, but, here is the tcpdump: ~#tcpdump -ilo tcpdump: listening on lo 22:09:03.408257 chimchim.1111 > chimchim.9000: S 1060566270:1060566270(0) win 512 <mss 3544> 22:09:03.408257 chimchim.1111 > chimchim.9000: S 1060566270:1060566270(0) win 512 <mss 3544> 22:09:03.408257 chimchim.9000 > chimchim.1111: S 1443016150:1443016150(0) ack 1060566271 win 32736 <mss 3544> 22:09:03.408257 chimchim.9000 > chimchim.1111: S 1443016150:1443016150(0) ack 1060566271 win 32736 <mss 3544> 22:09:03.408257 chimchim.1111 > chimchim.9000: . ack 1 win 31896 (DF) 22:09:03.408257 chimchim.1111 > chimchim.9000: . ack 1 win 31896 (DF) 22:09:03.488257 chimchim.1111 > chimchim.9000: P 1:12(11) ack 1 win 31896 (DF) 22:09:03.488257 chimchim.1111 > chimchim.9000: P 1:12(11) ack 1 win 31896 (DF) 22:09:03.508257 chimchim.9000 > chimchim.1111: . ack 12 win 32736 (DF) 22:09:03.508257 chimchim.9000 > chimchim.1111: . ack 12 win 32736 (DF) Looks like two packets were sent? All the numbers seem to be the same.. I'm in over my head, I think - is there someone here who could forward this to an appropriate place, or, better, tell me to forget it because it is being worked on:-) Grumble.. it's frustrating to run into this stuff:-( -- David Welton http://www.efn.org/~davidw Debian GNU/Linux - www.debian.org -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .