>>>>> "JNP" == Joshua N Pritikin <[EMAIL PROTECTED]> writes:
JNP> On Thu, Jan 13, 2000 at 05:55:48PM -0500, [EMAIL PROTECTED] wrote:
>> how about announcing to this list when you release a new version of
>> event.pm and also posting its delta? i would have loved the cb_timeout
>> feature (after all i did ask for it) and i wouldn't have spent time
>> working around not having it.
JNP> I *did* announce it:
JNP> http://www.xray.mpe.mpg.de/mailing-lists/perl-loop/1999-11/msg00026.html
i wonder if i am actually on the perl-loop list itself. does it get any
trafic other than the threads i start? i never see any. that would
explain why i didn't see (or i am blind) the announcement.
JNP> I guess I can post deltas too. I haven't been doing that.
that would be good as it would let me know if the new features are
something i want to use.
>> the Event::tcp stuf is not what i want. i need an async connect event
>> and an accept event. i will be handling the data stream so i don't need
>> the tcpsession stuff. i have the design for the accept/connect, i just
>> have to finsih up my read/write events which now will get rewritten to
>> use the cb_timeout feature.
JNP> Oh OK. Good luck.
i rewrote to use the timeout_cb stuff. with no docs it was tricky
looking at the code to figure out the api. i wasn't sure you supported
the [$obj, method] api but you did and i am using it. both read and
write objects with timeouts work nicely with better code.
i also have an accept object working and now i need to the the async
connect one.
graham,
do i have to use the perl socket stuff or can i get a partially
connected socket with IO::Socket? or another idea, can i just get a
plain IO::Socket and set NON_BLOCK and then call the conect method with
the remote address? that would be great if that worked so i wouldn't
have to handle all the possible addresses and let IO::Socket do the work
for me.
thanx,
uri
--
Uri Guttman --------- [EMAIL PROTECTED] ---------- http://www.sysarch.com
SYStems ARCHitecture, Software Engineering, Perl, Internet, UNIX Consulting
The Perl Books Page ----------- http://www.sysarch.com/cgi-bin/perl_books
The Best Search Engine on the Net ---------- http://www.northernlight.com