Releases: GyulyVGC/listeners
Releases · GyulyVGC/listeners
v0.5.1
v0.5.0
Added
- OpenBSD and NetBSD support (#39)
Changed
- Update process name retrieval on Windows for improved performance (#43 — fixes #42)
- Update benchmarks to be even more comprehensive: test multiple processes each listening on multiple ports (#41 — fixes #35)
Fixed
- Use more loose version requirements to avoid dependency conflicts in projects using this library
Thanks to:
- @antoncxx for adding OpenBSD and NetBSD support, and improving Windows performance
v0.4.0
Added
- FreeBSD support (#32)
- New API
get_process_by_portto efficiently get the process listening on a specific port and protocol (#34 — fixes #25) IS_OS_SUPPORTEDconstant to check if the consumer platform is supported by the library- Benchmarks on all supported platforms, which helped to considerably improve this library performance (#31)
Changed
- Only open one
ProcFdat a time on Linux (#30)
Removed
get_ports_by_pid,get_ports_by_process_name, andget_processes_by_port, since they were not optimized because internally simply based onget_all
Thanks to:
v0.3.0
Added
- Added
pathfield toProcessstruct, making it possible to obtain the executables' full path (#23) - New
Protocolenum - Added
protocolfield toListenerstruct, indicating whether the listener uses TCP or UDP
Changed
- The library now retrieves all the processes listening on TCP/UDP sockets, instead of just the TCP-based ones in
LISTENstate (#13 — fixes #5)
Thanks to:
- @islameehassan for extending the library to support both TCP and UDP
v0.2.1
v0.2.0
Added
- New APIs to get the listening processes in a more granular way
get_ports_by_pidget_ports_by_process_nameget_processes_by_port
- New
Processstruct to represent a process identified by its PID and name
Changed
Listenerstruct now has aprocessfield of typeProcess, which takes place of the old fieldspidandname