Re: File Descriptor Input



>//I am trying to get an input from a socket. But
>before I implement the socket,
>//I thought I should try the input from keyboard. I
>tried to do that But I am 
>//not successful. Here is the code. Can anyone help?

your handler needs:

a) a different prototype (check the reference docs)
b) to read the data that was available
c) return TRUE or FALSE



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]