[zeromq-dev] AttributeError when using getpeername
Indradhanush Gupta
indradhanush.gupta at gmail.com
Thu Dec 27 12:43:13 CET 2018
On Thu, Dec 27, 2018 at 4:41 PM Emile Achadde <emile.achadde at free.fr> wrote:
> Hello
>
> I am quite new in 0MQ and python I think was not clear enough.
>
> My question is : "how to use the getpeername method of a socket object ?"
>
Hi Emile,
The socket object does not have a method called getpeername.
> What do you mean by "Socket option" ?
>
He was referring to the attributes of the type Socket.
> Thanks
>
> Emile
>
>
> On 26/12/2018 18:51, Luca Boccassi wrote:
>
> On Wed, 2018-12-26 at 17:44 +0100, Emile Achadde wrote:
>
> Hello
>
> here is a small script that gives "AttributeError: Socket has no
> such
> option: GETPEERNAME" why ?
>
> Hi,
>
> There is no "getpeername" socket option.
>
>
>
> _______________________________________________
> zeromq-dev mailing listzeromq-dev at lists.zeromq.orghttps://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> https://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
--
Indradhanush Gupta
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20181227/5c20d3ce/attachment.htm>
More information about the zeromq-dev
mailing list