Port Fwd: documentation clarificaition
It is solved but it took me a while.
slirp_add_hostfwd
takes the address in standard network order, but the port in host order.
I found it strange because I was coming from other network functions like inet_ntop
and getaddrinfo
where the port in is network order too.
At least this is what I found with some trial and error.
Maybe the doc should specify it.