Single UDP sockets : duplex capable?



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
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"