Working with hardware and timeouts .net -
we implementing cardreader terminal credicard payments , have question timeouts. terminal connected trough network. if dont have existing connection tries connect ip-adress given customer.
the terminal answer "connected event" if succeeds in connecting, otherwise dont event @ all. how can handle timeout in .net? if terminal gets connection can take 10 seconds before event sent. suggestions can find information timeouts? or other hints? :)
i assume while connecting, call connect method blocking thread right? have create thread , call connect method there. can have timer interval wish, when timer triggers , if not connected, abort thread.
Comments
Post a Comment