[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Socket Pipe?



At 11.53 -0400 1999.06.23, strider corinth wrote:
>I'm writing a sort of router that should open an SMTP connection to a host,
>and recieve one from a client. Once this connection is made, my program
>must act as a relay between the two.
>
>The problem is that I don't think I can use a simple for loop. Send doesn't
>always follow recieve in SMTP and so I need a way, if there is one, to make
>a pipe directly from one to the other, hopefully not involving my code at
>all. Is there a way to do that? If not, does anyone have any other
>suggestions?

Try Net::SMTP, or if you want your own code, use it as a guideline.

--
Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
%PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10  1FF77F13 8180B6B6'])

===== Want to unsubscribe from this list?
===== Send mail with body "unsubscribe" to macperl-request@macperl.org