Linux-Hams archive - April 1997: Re: Need help with socket programming

Re: Need help with socket programming

Terry Dawson (awjyrk.gzll@ornis.com)
Fri, 11 Apr 1997 18:16:13 +1000


ium@vitra.com wrote:
>

> I have searched through the NET_HOWTO and the AX25_HOWTO
> without finding anything on socket programming. I have also
> searched for a AX.25 FAQ for Linux but not found any.

In the latest AX25-HOWTO I've started on a section for
AX25/NetRom/Rose socket programming. I'm pretty much learning
what is required myself, so it's taking a little while.

The only obvious differences from IP programming up front
are the address structures. They are considerably more fiddly
for AX.25 than for IP. Other differences are less obvious, and
relate to how you set various communication parameters such
as Window etc. These are done through [gs]etsockopt() calls.

Your best bet is probably to have a look at the code within
the various AX.25 utilities.

regards
Terry