ifplugd
Vladimir Dronnikov
dronnikov at gmail.com
Thu Apr 23 08:02:09 UTC 2009
>> The data recv'ed from netlink socket is considered a set of packed strings:
>> str1\0str2\0...strN\0\0
>> This fact will break netcat read-write cycle consistency IMHO.
>
> But it still is retrieved by read syscall, right?
> I'd be much surprised if it does not.
>
recv(fd, buf, sizeof(buf), MSG_DONTWAIT);
At least it works. Didn't test with read().
I meant mostly that _write_ clause if different.
--
Vladimir
More information about the busybox
mailing list