[fpc-pascal]reading a unix socket ?
Jonas Maebe
jonas at zeus.rug.ac.be
Thu Mar 20 11:03:12 CET 2003
On woensdag, maa 19, 2003, at 20:55 Europe/Brussels, Kenneth Due wrote:
> <html>
> I have a problem reading a unix-socket <br>
> <br>
> this snippet (from www.lirc.org) works, but it's in perl ...........
> :-(<br>
> <br>
> <tt>
> fd=socket(AF_UNIX,SOCK_STREAM,0);<br>
> if(fd==-1) {<br>
>  
> ;
> perror("socket");<br>
>  
> ;
[snip]
Please do not post html-only mails to this list, the above is what it
looks like for people that use a mail client which doesn't understand
html. See <http://www.eudora.com/techsupport/kb/908hq.html> for
information on how to change this.
Thanks,
Jonas
FPC mailing lists admin
More information about the fpc-pascal
mailing list