On Thu, 17 Oct 2002, Vadim Zeitlin wrote:

>  Sorry, neither of those are transports -- they're both protocols.
> Transport is, for example, TCP/IP.

Sorry, yes, I know the difference, and I shouldn't use them 
interchangably.  I'd be adding a new protocol and transport.  I'm not 
going to add the transport to the os level though, at least not yet.  That 
would be a huge PITA (and it's been done before, to only minor practical 
use).  It's not much of a transport though, the pactor takes care of many 
things, such as hand-shaking, error correction, and a few other things.

>  So you would want to use something else instead of TCP/IP, right?

With the current level of OS support (cross platform, though Linux support 
has many fine attributes), it's basically just talking to the serial port.  
Think back to the BBS days.

>  Yes, all network code is in c-client library. The good news is that it
> is easily extendable by design, i.e. you can add new protocols *and*
> transports (and authentificators and what not) quite easily. The bad news
> is that I personally don't know much about this but if you can explain a
> bit better what do you want to do I could give you at least some general
> directions.

I can handle all the radio/serial/pactor stuff.  I should 
probably break open my networking book to the chapter about 
forward error correction, but the pactor is decent about such 
things

Naievely, I need two function calls to interface:
1) sendMail - Takes a MIME encoded message in string form, it's length (or 
I could do a strlen(), and a list of addresses.  From there, I can 
asychronously manage the serial port and pactor.  Synchronous operation 
would leave the system a bit too unresponsive (at 200 baud, simplex 
communication, and difficult switching, the pactor can take up to a minute 
to send even a small amount of text).

2) readMail - Takes roughly zero inputs.  Returns a MIME encoded message 
in string form.

Shortly, I would probably split readMail into listMail, and readMsg(num), 
with sort of obvious return values

-Ron

--
Ron Alford, KB0NUV
http://volus.net/~ronwalf





-------------------------------------------------------
This sf.net email is sponsored by: viaVerio will pay you up to
$1,000 for every account that you consolidate with us.
http://ad.doubleclick.net/clk;4749864;7604308;v?
http://www.viaverio.com/consolidator/osdn.cfm
_______________________________________________
Mahogany-Developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-developers

Reply via email to