how do you do unbuffered io in c?

I need to write each charachter typed to a socket, not waiting for "\n" newline i.e. enter key

any help?

Recommended Answers

All 2 Replies

Unbuffered I/O is operating system dependent; all of the standard C library functions operate on buffered streams. What OS are you running under?

unix based... Mac / Linux

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.