> But wouldn't saned then be linked against libsane-net also? > Your solution works when the connection goes to a different host, but > here saned on the same host is connected. Yes, you are right. Oliver