Date: Tue, 28 Nov 2006 13:13:50 -0800 From: Garrett Cooper <youshi10@u.washington.edu> To: freebsd-hackers@FreeBSD.ORG Subject: Single UDP sockets : duplex capable? Message-ID: <456CA68E.7090207@u.washington.edu>
index | next in thread | raw e-mail
Hello,
Just wondering, abstractly..
-------------------------
| A -[socket (UDP)]-> B |
-------------------------
A creates a UDP socket (call it 's1') to talk to B.
Can B use the same socket ('s2') to talk to A using read(2) or
recv(2), or does A have to accept(2) traffic from B using a different
socket?
The programming language I'm using is C (not C++).
Thanks,
-Garrett
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?456CA68E.7090207>
