6 releases

0.14.3 Jan 12, 2024
0.14.2 Jul 28, 2023
0.13.1 Feb 5, 2023
0.12.0 Dec 5, 2022

#548 in Network programming

Download history 9042/week @ 2023-10-31 13107/week @ 2023-11-07 29758/week @ 2023-11-14 12306/week @ 2023-11-21 13865/week @ 2023-11-28 12541/week @ 2023-12-05 11834/week @ 2023-12-12 8170/week @ 2023-12-19 6650/week @ 2023-12-26 12123/week @ 2024-01-02 13832/week @ 2024-01-09 14114/week @ 2024-01-16 16888/week @ 2024-01-23 18616/week @ 2024-01-30 17349/week @ 2024-02-06 14466/week @ 2024-02-13

69,907 downloads per month
Used in 37 crates (3 directly)

MIT license

93KB
2K SLoC

Internet Gateway Device client

This is a simple library that communicates with an UPNP enabled gateway device (a router). Contributions and feedback are welcome. At the moment, you can search for the gateway, request the gateway's external address and, add/remove port mappings. See the examples/ folder for a demo.

Contributions are welcome! This is pretty delicate to test, please submit an issue if you have trouble using this.

License

MIT


lib.rs:

This library allows you to communicate with an IGD enabled device. Use one of the search_gateway functions to obtain a Gateway object. You can then communicate with the device via this object.

Dependencies

~3–19MB
~274K SLoC