Skip to content
hamsteruserPublic

About

miniupnpc python wrapper

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Library that's maps and unmaps upnp ports.

class name is port_manager.

Class arguments:

Methods:

  • discover check current upnp status. Returns ValueError Exception if unavailable.
  • unmap_allports unmap all ports.
  • mapport map the port. Arguments ['port', 'proto']. Port will be random if port=None here. Default proto is TCP. returns boolean and str port
  • unmapport unmap the port Arguments ['port', 'proto']. Default proto is TCP.

About

miniupnpc python wrapper

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages