Bad File Descriptor on a serial port?

There's not really enough information here, but it's worth a shot noting that you do return connectSender(fd); break The break there is dead code, since the return stops execution of the function. Perhaps you didn't mean to return? If that's not the case try using strace to get more details about what's going on.

If you're not on linux other OSes should have similar tools, such as dtruss or ktrace.

There's not really enough information here, but it's worth a shot noting that you do return connectSender(fd); break; The break there is dead code, since the return stops execution of the function. Perhaps you didn't mean to return? If that's not the case try using strace to get more details about what's going on.

If you're not on linux other OSes should have similar tools, such as dtruss or ktrace.

You're right. It's dead code and I meant to return right there, but it's not relevant on the problem. – joaoqalves Oct 30 at 15:15.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions