Hi Viktor,

Just replace  lines comparing nTimeout to < 0 to <=0

           ( nTimeout < 0 .OR. ( hb_milliSeconds() - nStartTime ) < nTimeout
) 
to
           ( nTimeout <= 0 .OR. ( hb_milliSeconds() - nStartTime ) <
nTimeout )


and add at the end of the loop, just before the EndDo

if nTimeout = 0
    exit
endif

it's in 
tp_recv
tp_send
tp_recvto
tp_flush


Thanks
AbeB
-- 
View this message in context: 
http://n2.nabble.com/24-hour-wait-loop-in-telephaty-tp4491844p4494447.html
Sent from the harbour-devel mailing list archive at Nabble.com.
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to