On Wed, Mar 27, 2013 at 12:25:20AM +0100, Sven Van Caekenberghe wrote:
> I politely disagree ;-) > > But I am willing to learn: so please provide some references of such UDP > usage. > > http://en.wikipedia.org/wiki/Datagram I am not sure which part you are disagreeing to. But you can definately use connect on a SOCK_DGRAM. The benefit is that you can then use read/write on filedescriptor instead of sendto/recv. An example is here[1]. holger [1] http://cgit.osmocom.org/openbsc/tree/openbsc/src/osmo-bsc_mgcp/mgcp_main.c#n242