[zeromq-dev] AttributeError when using getpeername

Emile Achadde emile.achadde at free.fr
Thu Dec 27 12:01:01 CET 2018


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 ?"

What do you mean by  "Socket option" ?

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 list
> zeromq-dev at lists.zeromq.org
> https://lists.zeromq.org/mailman/listinfo/zeromq-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20181227/9c6c9297/attachment.htm>


More information about the zeromq-dev mailing list