+
+ method host =
+ string_of_sv (call_method sv "host" [])
+ method set_host host =
+ call_method_void sv "host" [sv_of_string host]
+ method port =
+ string_of_sv (call_method sv "port" [])
+ method set_port port =
+ call_method_void sv "port" [sv_of_string port]
+ method host_port =
+ string_of_sv (call_method sv "host_port" [])
+ method set_host_port host_port =
+ call_method_void sv "host_port" [sv_of_string host_port]
+ method default_port =
+ int_of_sv (call_method sv "default_port" [])
+