- "Nelson, Chris (USITG)" <[EMAIL PROTECTED]>:

| I've been trying to write a perl script that will talk to a qmqp
| server, without much luck.  I send my data to the server and await
| it's responce and nothing ever shows up, I end up killing my
| program.  I think I'm following the protocol to the letter, but I
| must be missing something.  Any ideas?  Following is the text I'm
| attempting to send to the server.

Looks fine to me.  I guess you got the networking part wrong in perl.
Try putting the text in a file textmsg and run

; tcpclient localhost 628 sh -c 'cat testmsg >&7; cat <&6'

If it works, you should get a response somewhat like what I got:

21:Kok 922214215 qp 9852,; 

Then you can start looking for errors in your perl code...

Make sure your tcpserver setup for qmqpd actually allows connections
from localhost.  Mine didn't at first, which caused some head
scratching.

- Harald
  • QMQP Nelson, Chris (USITG)
    • Harald Hanche-Olsen

Reply via email to