Fixed some checks.

Signed-off-by: Giacomo Bagnoli <gbagnoli@gmail.com>
Added range_set field to the ConfigDescParams structure.

Signed-off-by: Giacomo Bagnoli <gbagnoli@gmail.com>
Set range for port parameter.

Signed-off-by: Giacomo Bagnoli <gbagnoli@gmail.com>
Use %d instead of %i in format string.

Signed-off-by: Giacomo Bagnoli <gbagnoli@gmail.com>
Actually use the Config object to configure host and port.

Signed-off-by: Giacomo Bagnoli <gbagnoli@gmail.com>