At 19:00 20-03-2003 +0100, you wrote:
>
>
>On Thu, 20 Mar 2003, Kenneth Due wrote:
>
>> Sorry about the 'spam'
>> I forgot to remove the html, before sending the mail..
>>
>> I have a problem reading a unix-socket
>
>Please see the examples in the docs, they give examples of how to do t
On Thu, 20 Mar 2003, Kenneth Due wrote:
> Sorry about the 'spam'
> I forgot to remove the html, before sending the mail..
>
> I have a problem reading a unix-socket
Please see the examples in the docs, they give examples of how to do this.
The 'sockets' unit gives you everyting you
Sorry about the 'spam'
I forgot to remove the html, before sending the mail..
I have a problem reading a unix-socket
this snippet (from www.lirc.org) works, but it's in perl (I think)
... :-(
fd=socket(AF_UNIX,SOCK_STREAM,0);
if(fd==-1) {
per
On woensdag, maa 19, 2003, at 20:55 Europe/Brussels, Kenneth Due wrote:
I have a problem reading a unix-socket
this snippet (from www.lirc.org) works, but it's in perl ...
:-(
fd=socket(AF_UNIX,SOCK_STREAM,0);
if(fd==-1) {
;
perror("socket");
On Thursday 20 March 2003 09:27, you wrote:
> >> > Hi again -
> >> >
> >> > another question; what is the best way to "fail" a constructor call?
> >>
> >> For
> >>
> >> > example, I have a constructor "timage.loadimage()", and I want it to
> >> > return
> >> > "nil" if it encounters a problem (e.g.
>>
>> > Hi again -
>> >
>> > another question; what is the best way to "fail" a constructor call?
>> For
>> > example, I have a constructor "timage.loadimage()", and I want it to
>> > return
>> > "nil" if it encounters a problem (e.g. the file name doesn't exist).
>> My
>>
>> Use fail :-)
>
> But,