[Harbour] Re: 24 hour wait loop in telephaty
Viktor Szakáts
harbour.01 at syenar.hu
Mon Feb 1 09:21:10 EST 2010
Sorry, due to non-Harbour things, I can't do this now,
not to mention testing or any sort of deeper involvement.
Brgds,
Viktor
On 2010 Feb 1, at 14:49, AbeB wrote:
>
> 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)
> Harbour at harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
More information about the Harbour
mailing list