[fpc-pascal] Sockets in FPC

2009-02-18 Thread Nataraj S Narayan
Hi I need to write a daemon on Linux which will wait on a user defined port (say 3) and parse the socket input to write into a Mysql database. Can anybody suggest examples in FPC ? Presently , I am using TCL for this. The problem is the behaviour of Gets function in TCL.. It is buffered with

Re: [fpc-pascal] Sockets in FPC

2009-02-18 Thread Paul Nicholls
Hi I need to write a daemon on Linux which will wait on a user defined port (say 3) and parse the socket input to write into a Mysql database. Can anybody suggest examples in FPC ? Presently , I am using TCL for this. The problem is the behaviour of Gets function in TCL.. It is buffered

Re: [fpc-pascal] Sockets in FPC

2009-02-18 Thread Lukas Gradl
Nataraj S Narayan schrieb: Hi I need to write a daemon on Linux which will wait on a user defined port (say 3) and parse the socket input to write into a Mysql database. Can anybody suggest examples in FPC ? Presently , I am using TCL for this. The problem is the behaviour of Gets function