The GNOME socket library
gnome-socket is a library that provides easy network access to GNOME
- Non-blocking I/O on Internet IPv4 TCP and UDP sockets.
- Asynchronous dns lookup (via an external library).
Current status: beta, but working well.
The API could change in the future.
The main points for discussion:
- Is the interface simple/complete/flexible?
- Portability issues
- Be ready for IPv6: is the current API ready?
Without ares / GNU adns you can't use the asynchronous dns lookup provided in
the library (gnome_adns_* functions). However, gnome-libs already has an
asynchronous dns resolver (gnome_dns_lookup), though it's deprecated.
The reason for using gnome-socket and ares / GNU adns relies in the fact that
gnome_dns_lookup forks another process to do the lookup.
You can still use gnome_socket even without ares / GNU adns: when it needs
to do dns lookup it will do it via gnome_dns.
Please note that if your project isn't under GPL the only possible choices are
gnome_dns and ares: I strongly recommend ares.
This doesn't depend on me but on the adns license.
You can browse the
list of the releases of gnome-socket and download the latest.
Browse the online documentation or
download the tarball.
(Updated 29 Apr 2000).
gnome-socket summary to submit a bug report or
to post a feature request. You can also find the list of developers.
Thanks to SourceForge
for hosting this project.
Last Update 29 Apr 2000 by