configure takes an argument to send messages to sockets or to a method provided by the caller