Hi,
I am attempting to establish a Livelink connection using the following code in Visual Basic:
status = LL_SessionAllocEx(g_lngSession, "localhost", _
"2099", "", _
"Admin", "password", 0)
Now, this works great. The only issue is that until something is returned, my app basically freezes. So if the network has lag, or if the hostname is incorrect, or server is off, the amount of time before the status code is returned can vary from half a second to 30 seconds.
My question is how do I prevent the app from locking until the session has been established?
Thanks!
I am attempting to establish a Livelink connection using the following code in Visual Basic:
status = LL_SessionAllocEx(g_lngSession, "localhost", _
"2099", "", _
"Admin", "password", 0)
Now, this works great. The only issue is that until something is returned, my app basically freezes. So if the network has lag, or if the hostname is incorrect, or server is off, the amount of time before the status code is returned can vary from half a second to 30 seconds.
My question is how do I prevent the app from locking until the session has been established?
Thanks!