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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
fd=socket(AF_UNIX,SOCK_STREAM,0);<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if(fd==-1)&nbsp; {<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;
perror(&quot;socket&quot;);<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;
[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

_______________________________________________
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to