[fpc-devel]socket question...

Alejandro Néstor Vargas anv at xnetcuyo.com.ar
Tue Sep 3 18:22:48 CEST 2002


Gene Buckle dijo:
>
> Can someone point me to a code snippet that would illustrate the socket
> equivalent to a keypressed function?

You should set the descriptor to non blocking access and try to read a
byte. If it don't fails store the byte in a buffer to be red when it is
needed.


-- 
Alejandro Néstor Vargas
anv at xnetcuyo.com.ar
ICQ: 20528995.
Departamento de Desarrollo
X Net Cuyo S.A.






More information about the fpc-devel mailing list