Can anybody tell me how to implement timeout functionality. I don't want to use timeout functinality provided in java.net.
My requirement is, I am sending some request to a serial port on which a board is connected. Now I have to wait for particular time to receive the response data. If response data from board is not acquired for this particulat time then an exception is to be thrown. As code for writing a request on RS232 port and target board are on the same machine i can't use timeout functinality of java.net.
So please tell me if anybody knows how to implement it.