libnl 1.0-pre7 is out
(=?utf-8?q?=60=60-=5F-=C2=B4=C2=B4?=) -- Fernando
ubuntu at bugabundo.net
Tue Nov 27 23:58:48 UTC 2007
On Monday 26 November 2007 16:18:54 Thomas Graf wrote:
> * (``-_-??) -- Fernando <ubuntu at bugabundo.net> 2007-11-26 00:17
> > On Tuesday 13 November 2007 17:24:15 Luis R. Rodriguez wrote:
> > <snip>
> > > generate_local_port() does the magic. It allows 1024 unique ports per
> > > application. There is a bug there if you want more than 1024 handles
> > > but I suppose Network Manager won't use them up.
> > >
> > > Luis
> >
> > Wont p2p and some server apps exhaust those 1024 pretty quickly, or am I getting it wrong?
>
> We're talking netlink sockets here. There is no reason for an
> application to open more than 2 sockets per netlink family.
> A command socket and a socket to listen for notifications.
> Currently about a dozen netlink families exist so even if an
> application makes use of all netlink families, 1024 would
> is still be a decent limitation.
>
> If you want to use more, go ahead an do your own pid/port
> management but be aware that the generated numbers must be
> unique _sytem wide_.
>
Thanks for the info.
Allways learning!
--
BUGabundo :o)
(``-_-ยดยด) http://Ubuntu.BUGabundo.net
Linux user #443786 GPG key 1024D/A1784EBB
My new micro-blog @ http://BUGabundo.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.ubuntu.com/archives/ubuntu-devel-discuss/attachments/20071127/6842c8c0/attachment.sig>
More information about the Ubuntu-devel-discuss
mailing list