[fpc-pascal] Sockets in FPC
Nataraj S Narayan
natarajsn at gmail.com
Thu Feb 19 06:27:46 CET 2009
I need to write a daemon on Linux which will wait on a user defined
port (say 30000) 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 EOF as newline.
But i need the socket to have a user defined char like ':' and it
should be unbuffered too. I mean dont want an Enter keyed to be at
We use various GPRS modules on embedded devices, each with its own
nuances of terminating a string. So we can't afford to have a 'normal'
gets or readln behaviours.
More information about the fpc-pascal