Hello,

Then this option can be used on connect socket, the HTTP protocol has to be
implemented elsewhere (it would be the same for server side).

So create context, then socket, set the option (ROUTER_RAW) and connect to
your HTTP server endpoint. Then you can implement HTTP protocol in your
application.

Lukasz


2014/1/6 Ravir Pandey <[email protected]>

> Ok but how can i achieve http request through this. Basically i want to
> store messages in queues using zmq server and then i want to send it to my
> http server. It looks like it binds with tcp://*:8080 first and after that
> next process done.
>
>
> On Mon, Jan 6, 2014 at 2:54 PM, Łukasz Nowak <[email protected]> wrote:
>
>> Hello,
>>
>> This has stabilised in ZeroMQ 4.0. Please take a look for zmq_socket
>> manpage ( http://api.zeromq.org/4-0:zmq-socket ), section "Native
>> patterns" and option "ZMQ_STREAM".
>>
>> I am using it flawlessly on pyzmq binding. There is still depracated
>> naming ROUTER_RAW option on socket.
>>
>> Regards,
>> Lukasz
>>
>>
>> 2014/1/6 Ravir Pandey <[email protected]>
>>
>>> Is there any way to send http request and get response from server.
>>>
>>> For Ex. - i want to send request to my http server http://341.23.43.21,
>>> after processing request i need a reply from same server.
>>>
>>> How can i achieve this?
>>>
>>> Ravi
>>>
>>> _______________________________________________
>>> zeromq-dev mailing list
>>> [email protected]
>>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>>
>>>
>>
>> _______________________________________________
>> zeromq-dev mailing list
>> [email protected]
>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>
>>
>
> _______________________________________________
> zeromq-dev mailing list
> [email protected]
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to