[zeromq-dev] Can I change a socket mechanism after a connect ?

Pieter Hintjens ph at imatix.com
Tue Dec 10 10:15:07 CET 2013


The security mechanism, like some other socket options, applies to the
next connection (in or outgoing). A single TCP connection cannot
switch between mechanisms. There's no protocol for that, nor is there
any sense in it. Changing security level on a socket after having
connections is also dangerous and we've discussed banning it.


On Mon, Dec 9, 2013 at 3:24 PM, Laurent Alebarde <l.alebarde at free.fr> wrote:
> Hi Devs,
>
> Is it possible to start a socket as NULL, send some messages, then change
> the socket to CURVE ?
> Does the identity of the socket change in the process ?
>
> Cheers,
>
>
> Laurent
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>



More information about the zeromq-dev mailing list