Network.useNat is obsolete?

When i use Network.useNat = useNAT; i get a warning saying its obsolete, what should i use
instead or do? ( i have a variable called useNAT = false; ).

I would really appreciate it if somebody could help :).

EDIT: Fixed it, i should have looked around before asking sorry!

It’s included as a parameter in Connect() now. Easiest way is probably to construct a HostData object and pass that to Connect()