Detecting keypress and select()

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • msridhar87
    New Member
    • Mar 2009
    • 3

    Detecting keypress and select()

    I am writing a chat server code using select. In the client side I need to read input either from the user or from the server. The thing is , when the client waits on a select() and if I type something ,the client should not be disturbed by the message from the other client until I press enter... is there any way to solve this?
Working...