[#192] auto-loaded script? — Julian Fondren <julian@...>
Does ruby load any particular scripts upon startup?
13 messages
1999/01/17
[#193] Re: auto-loaded script?
— gotoken@... (GOTO Kentaro)
1999/01/17
In message "[ruby-talk:00192] auto-loaded script?"
[#194] Re: auto-loaded script?
— Julian Fondren <julian@...>
1999/01/18
> >Does ruby load any particular scripts upon startup?
[#195] Re: auto-loaded script?
— matz@... (Yukihiro Matsumoto)
1999/01/18
Hi.
[#197] Re: auto-loaded script?
— Julian Fondren <julian@...>
1999/01/18
> rb_load_file("/home/julian/.rubyrc"); /* this line added */
[#210] Get character with no wait — Gabriel <gabriel@...>
What is the best way to do a getc without waiting; so I can try to grab
8 messages
1999/01/25
[ruby-talk:00217] Re: TCPsocket.recvfrom in use
From:
matz@... (Yukihiro Matsumoto)
Date:
1999-01-25 15:19:40 UTC
List:
ruby-talk #217
In message "[ruby-talk:00214] TCPsocket.recvfrom in use"
on 99/01/25, Julian Fondren <julian@imaji.net> writes:
|Could I have an example of TCPsocket.recvfrom in use? It doesn't appear to
|be used at all in ruby/lib or in the samples. Thank you.
It should be something like this:
s = TCPsocket.open(host, port)
data, addr = s.recvfrom(25, Socket::MSG_PEEK)