s i s t e m a o p e r a c i o n a l m a g n u x l i n u x | ~/ · documentação · suporte · sobre |
Next
Previous
Contents
20. AX.25, NetRom, Rose network programming.Probably the biggest advantage of using the kernel based implementations of the amateur packet radio protocols is the ease with which you can develop applications and programs to use them. While the subject of Unix Network Programming is outside the scope of this document I will describe the elementary details of how you can make use of the AX.25, NetRom and Rose protocols within your software.
20.1 The address families.Network programming for AX.25, NetRom and Rose is quite similar to programming for TCP/IP under Linux. The major differences being the address families used, and the address structures that need to be mangled into place. The address family names for AX.25, NetRom and Rose are
20.2 The header files.You must always include the ` For AX.25:
For NetRom:
For Rose:
20.3 Callsign mangling and examples.There are routines within the The user_call utilities are excellent examples from which to work. The source code for them is included in the AX25 utilities package. If you spend a little time working with those you will soon see that ninety percent of the work is involved in just getting ready to open the socket. Actually making the connection is easy, the preparation takes time. The example are simple enough to not be very confusing. If you have any
questions, you should feel to direct them to the
Next Previous Contents |