Link to home
Start Free TrialLog in
Avatar of klay8
klay8

asked on

multiple serial ports

hi
i built an application in visual c++ 2005 pro to send and receive from many serial ports at the same time..
so i am sending a string over the night to ports opened or closed every ten seconds, so might receive a lot of exceptions using try ...catch
what are the negatives of this ?
thanks
regard
klay
Avatar of Jaime Olivares
Jaime Olivares
Flag of Peru image

try/cath produces a meaningful delay in your application, you should try to test if there is data in the buffer.
Avatar of klay8
klay8

ASKER

i dont care about the delays
but i am asking if had a lot of exceptions, does the application freeze?
thanks
ASKER CERTIFIED SOLUTION
Avatar of Jaime Olivares
Jaime Olivares
Flag of Peru image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of klay8

ASKER

thanks