miniupnp.tuxfamily.org Forum Index miniupnp.tuxfamily.org
The forum about miniupnp and libnatpmp
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

python3 access to minissdpd

 
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpc Compilation/Installation
View previous topic :: View next topic  
Author Message
lp65



Joined: 07 Sep 2020
Posts: 2

PostPosted: Mon Sep 07, 2020 12:23 pm    Post subject: python3 access to minissdpd Reply with quote

minissdpd is just what I need for a new project, thanks! My only problem is that the new project is in python 3 and my C isn't good enough for me to understand the example and implement it in python3. Does anyone have a python3 library (or code sample) for accessing the minissdpd server?

Thanks in advance,
LP
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1589

PostPosted: Sun Sep 20, 2020 1:38 pm    Post subject: Re: python3 access to minissdpd Reply with quote

lp65 wrote:
minissdpd is just what I need for a new project, thanks! My only problem is that the new project is in python 3 and my C isn't good enough for me to understand the example and implement it in python3. Does anyone have a python3 library (or code sample) for accessing the minissdpd server?

Thanks in advance,
LP

you need to open a UNIX socket :
https://pymotw.com/2/socket/uds.html
_________________
Main miniUPnP author.
https://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
lp65



Joined: 07 Sep 2020
Posts: 2

PostPosted: Wed Sep 23, 2020 7:46 am    Post subject: Re: python3 access to minissdpd Reply with quote

miniupnp wrote:

you need to open a UNIX socket :
https://pymotw.com/2/socket/uds.html


Thanks. I understand opening a unix socket and reading from it, my issue was with the communication protocol itself. For now I'm calling out to the upnpc program and parsing its output.

Thanks,
Len
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1589

PostPosted: Wed Sep 23, 2020 9:29 pm    Post subject: Reply with quote

there is a READM file :
https://github.com/miniupnp/miniupnp/tree/master/minissdpd
_________________
Main miniUPnP author.
https://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpc Compilation/Installation All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP
© 2007 Thomas Bernard, author of MiniUPNP.