[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <tencent_287F494544728EDB6DA9C8ED@qq.com>
Date: Sat, 23 Jul 2011 17:29:33 +0800
From: "ZHOU Xiaobo" <xb.zhou@...com>
To: "netdev" <netdev@...r.kernel.org>
Subject: write() udp socket
question No1:
When I call
ssize_t write(int fd, const void *buf, size_t count);
on a nonblocking UDP socket, is the return value always equal to 'count'?
question No2:
Can I write() a UDP socket in multiple threads without locking?
thanks
------------------
Sincerely yours
ZHOU Xiaobo
Powered by blists - more mailing lists