On Sat, 22 Sep 2007 14:21:13 +0530 (IST) Devesh Here <devu_devesh@xxxxxxxxxxx> wrote: > hello All, > i am very new in Linux , and i made a small program in C that jst sends and tries to receive character from serial port. > it is working fine for sending, but not receiving character from other end .. on other end Windows Xp running. Read() function retuns error > no = 11, i m putting my small code, You set non blocking, you read, you get EAGAIN - meaining it would block. I suspect you also want to turn off ECHO and ICANON