10 More Discussions You Might Find Interesting
1. Programming
Hi, I'm doing my thesis on the NS3 environment. I need to integrate it with mqtt. Mqtt provides a (mosquitto) broker / server, and it expects to have clients connect to it. A client could be a publisher (publishes data on the broker) or a subscriber (receives data from the broker it has subscribed... (4 Replies)
Discussion started by: KishIsrael
4 Replies
2. IP Networking
Dear all,
I want to simulate an Wireless Mobile ad hoc network that uses the
OLSR routing algorithm. ( i know how to do that now after reading the
tutorial)
Now, Instead of sending messages, I want the nodes to be able to send
a c++ code.
consider this scenario:
node A, send a c++... (0 Replies)
Discussion started by: knowledgeSeeker
0 Replies
3. UNIX for Dummies Questions & Answers
Hi, I'm doing my thesis on the NS3 environment. I need to integrate it with mqtt. Mqtt provides a (mosquitto) broker / server, and it expects to have clients connect to it. A client could be a publisher (publishes data on the broker) or a subscriber (receives data from the broker it has subscribed... (0 Replies)
Discussion started by: KishIsrael
0 Replies
4. IP Networking
how to add a relay node in wimax network using ns3 simulator.... (0 Replies)
Discussion started by: nivedita
0 Replies
5. IP Networking
i need materials regarding ns3(related to WiMAX) (1 Reply)
Discussion started by: nivedita
1 Replies
6. IP Networking
Command terminated with signal SIGSEGV. Run it under a debugger to get more information (./waf --run <program> --command-template="gdb --args %s <args>").
while running our own program in ns3 we got the above error...
what does this error mean?? (1 Reply)
Discussion started by: nivedita
1 Replies
7. IP Networking
Hi guys below is the code which I wrote to send some message to the server and the receive a a reply message from the server.
Initially, I wrote one program to sendto and one program to receive from, it is working fine seperately. When I tried coding sendto and recvfrom in a sinlge program then... (0 Replies)
Discussion started by: arunc.kris
0 Replies
8. IP Networking
Hi
I lost a lot of time in understanding the message "sendto Invalid argument" when I execute the following code.
This code is a simple UDP sender improved with some reliability feature.
My goal is to send a file. I've reported only the code which may be useful.
Can anyone help me?
Thank you... (0 Replies)
Discussion started by: Puntino
0 Replies
9. Ubuntu
I hope to post in the right place, otherwise I apologize for this
I wrote a UDP sender and a UDP receiver, my goal is to transmit a file from th sender to the receiver. I'm using Ubuntu 8.04
Compiling goes well but when I execute the sender, its "sendto" gives me the error "Permission denied" .... (0 Replies)
Discussion started by: Puntino
0 Replies
10. Programming
Hi,
I have created a packet socket (PF_PACKET, SOCK_DGRAM, htons(ETH_P_ARP)) to catch the ARP packets coming to my machine and send appropriate reply.
Now I'm able to recieve the ARP requests using recvfrom but don't know how to send the reply. I looked into man page but I'm not able to... (5 Replies)
Discussion started by: Rakesh Ranjan
5 Replies
AMQP-CONSUME(1) RabbitMQ C Client AMQP-CONSUME(1)
NAME
amqp-consume - Consume messages from a queue on an AMQP server
SYNOPSIS
amqp-consume [OPTION...] {command} [args...]
DESCRIPTION
amqp-consume consumes messages from a queue on an AMQP server. For each message that arrives, a receiving command is run, with the message
body supplied to it on standard input.
amqp-consume can consume from an existing queue, or it can create a new queue. It can optionally bind the queue to an existing exchange.
By default, messages will be consumed with explicit acknowledgements. A message will only be acknowledged if the receiving command exits
successfully (i.e. with an exit code of zero). The AMQP "no ack" mode (a.k.a. auto-ack mode) can be enable with the -A option.
OPTIONS
-q, --queue=queue name
The name of the queue to consume messages from.
If the --queue option is omitted, the AMQP server will assign a unique name to the queue, and that server-assigned name will be
dixsplayed on stderr; this case implies that an exclusive queue should be declared.
-e, --exchange=exchange name
Specifies that an exclusive queue should be declared, and bound to the given exchange. The specified exchange should already exist
unless the --exchange-type option is used to request the creation of an exchange.
-r, --routing-key=routing key
The routing key for binding. If omitted, an empty routing key is assumed.
-d, --declare
Forces an exclusive queue to be declared, even when it otherwise would not be. That is, when a queue name is specified with the --queue
option, but no binding to an exchange is requested with the --exchange option.
-A, --no-ack=routing key
Enable "no ack" mode: The AMQP server will unconditionally acknowledge each message that is delivered, regardless of whether the target
command exits successfully or not.
EXAMPLES
Consume messages from an existing queue "myqueue", and output the message bodies on standard output via cat:
$ amqp-publish -q myqueue cat
Bind a new exclusive queue to an exchange "myexch", and send each message body to the script myscript, automatically acknowledging them on
the server:
$ amqp-consume -A -e myexch ./myscript
SEE ALSO
librabbitmq-tools(7) describes connection-related options common to all the RabbitMQ C Client tools.
AUTHOR
The RabbitMQ Team <info@rabbitmq.com>
RabbitMQ C Client 2011-01-01 AMQP-CONSUME(1)