Changes between Version 112 and Version 113 of Avah4users
- Timestamp:
- 07/17/08 20:55:02 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Avah4users
v112 v113 125 125 * Not all mDNS implementations (especially embedded ones) support the special protocol extension that is required to allow avahi-discover to find a service without asking for a specific service type. Thus, some printers and a few other devices will not show up in avahi-discover. You should, however, be able to find them if you look for them with avahi-browse and specify service type you are looking for. e.g.: avahi-browse _ipp._tcp 126 126 1. '''I want to write a TCP server application that automatically chooses a free IP port for listening and then announces it via Avahi. How do I do that best? ''' 127 * Just create the socket and call listen() on it. Then, the IP stack will automatically assign a free port number. Use getsockname() to query the port number that has been chosen and use that when registering the Avahi service. [source:/docs/socket-auto-port.c An ex maple how to do this may be found in our GIT]127 * Just create the socket and call listen() on it. Then, the IP stack will automatically assign a free port number. Use getsockname() to query the port number that has been chosen and use that when registering the Avahi service. [source:/docs/socket-auto-port.c An example how to do this may be found in our GIT] 128 128 1. '''I get a lot of IP_ADD_MEMBERSHIP failed: No buffer space available messages in syslog! ''' 129 129 * Increase your {{{/proc/sys/net/ipv4/igmp_max_memberships}}} (on Linux)
