Darren Reed wrote: > In some email I received from Kevin White, sie wrote: > [...] > >> natlookup.nl_inport = ntohs(laddr.sin_port); >> natlookup.nl_outport = ntohs(faddr.sin_port); > > [...] > > For 3.4.29 to work, I believe you need to change these two lines to: > > natlookup.nl_inport = laddr.sin_port; > natlookup.nl_outport = faddr.sin_port; > > Darren
What's the best way to write code to make the decision on what form to use, preferably at run time? I'd like to have code that would work on as many known versions as possible. Thanks, Kevin
