David M. Rosner <[EMAIL PROTECTED]> wrote:
>
> I am in the midst of building a QMQP client in Java so that we can send a
> single message to a large number of recipients. I'd like to test my program
> using Telnet, but when I telnet to port 628 the server closes the
> connection after entering the mail message and hitting enter.
The qmqp deamon is likely closing the connection because you haven't
sent a valid netstring, I would guess -- I stress this is a guess.
> When interacting with the QMQP server through Telnet do I need to enter the
> data in hex , ascii values, or regular letters?
None of the above. QMQP isn't designed as a test-friendly protocol; it
contains arbitrary binary data in a highly-structured format. Trying to
do QMQP manually with telnet is likely an excercise in frustration.
See djb's QMQP page for details: http://cr.yp.to/proto/qmqp.html
Charles
--
-----------------------------------------------------------------------
Charles Cazabon <[EMAIL PROTECTED]>
GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/
-----------------------------------------------------------------------