From: Jason Williams Date: 2003-08-14T03:07:40+09:00 Subject: Re: Read character from keyboard In article <1751979702.20030813103416@syspoint.com.br>, Andr� Wagner wrote: > What I'm trying to write is a server on which you can type commands > (like a prompt). So I would have two threads: one for the server > processing (the socket) and another one for the prompt. The problem is > that the socket thread won't write anything on the screen (like a > warning message) if the prompt thread is waiting for a input. One way might be to use "select" on your socket and stdin.