public static SaneSession CreateSession(InetAddress address,int port)
address
The IP address.
port
The port number.
To create a local SANE session, pass InetAddress.getLocalHost() as the address.
A SANE daemon should be installed and running before creating a network session.