Example: lrs_set_connect_timeout

In the following example, lrs_set_connect_timeout specifies a connection timeout of 100 seconds.

lrs_set_connect_timeout(100, 0);
lrs_create_socket("socket0", "TCP", "LocalHost=0",     "RemoteHost=ftp.mercury.com:23", LrsLastArg);