AMX DESIGN XPRESS V 1.5 - PROGRAMMER GUIDE User's Guide

Browse online or download User's Guide for TVs & monitors AMX DESIGN XPRESS V 1.5 - PROGRAMMER GUIDE. AMX DESIGN XPRESS V 1.5 - PROGRAMMER GUIDE User`s guide User Manual

  • Download
  • Add to my manuals
  • Print
  • Page
    / 316
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews

Summary of Contents

Page 1 - KwikNet

KwikNet ®TCP/IP StackUSER'S GUIDEVersion 3First Printing: May 15, 1998Last Printing: September 15, 2005Manual Order Number: PN303-9Copyright © 19

Page 2

viiiKADAKKwikNet User's GuideKwikNet TCP/IP Stack User's GuideTable of Contents (continued)Page4. KwikNet Low Level Services (continued) 13

Page 3

86KADAKKwikNet System ConfigurationSLIP IP Address Definition (continued)Edit: IP AddressYou must select the Edit: IP Address radio button to define t

Page 4 - TRADEMARKS

KwikNet System ConfigurationKADAK872.6 Adding a PPP Network InterfaceThe easiest way to add a PPP network interface to your system is to let KwikNet

Page 5 - Copyright Notice

88KADAKKwikNet System ConfigurationPPP Network Definition (continued)TagEach network must have a unique network tag. The tag is a string of 1 to 7 ch

Page 6

KwikNet System ConfigurationKADAK89PPP Network Definition (continued)Modem ConnectionThe PPP network driver supports remote connections using the Kwik

Page 7

90KADAKKwikNet System ConfigurationPPP Network Definition (continued)PPP OptionsClick on the PPP Options... button to open the PPP Options Dialog. Wi

Page 8

KwikNet System ConfigurationKADAK91PPP Network Definition (continued)LCP Negotiation OptionsHeader CompressionCheck this box if the PPP network is per

Page 9

92KADAKKwikNet System ConfigurationPPP Network Definition (continued)IPCP Negotiation OptionsIP CompressionCheck this box if the PPP network is permit

Page 10

KwikNet System ConfigurationKADAK93PPP Options (continued)Local IP AddressThe IP address for each PPP network is usually edited in the network's

Page 11

94KADAKKwikNet System ConfigurationPPP Serial Device Driver DefinitionYou must define the device driver attached to each prebuilt network which yourap

Page 12

KwikNet System ConfigurationKADAK95PPP Serial Device Driver Definition (continued)TagEach device driver inherits the unique network tag assigned to th

Page 13

KwikNet User's GuideKADAKixKwikNet TCP/IP Stack User's GuideTable of Contents (continued)Page7. KwikNet Virtual File System 2397.1 Introdu

Page 14 - KwikNet User's Guide

96KADAKKwikNet System ConfigurationPPP IP Address DefinitionYou must provide a network IP address for each prebuilt network which your applicationsupp

Page 15 - 1.1 Introduction

KwikNet System ConfigurationKADAK97PPP IP Address Definition (continued)Edit: IP AddressYou must select the Edit: IP Address radio button to define th

Page 16

98KADAKKwikNet System ConfigurationPPP IP Address Definition (continued)Default GatewayCheck this box if you want the IP address of the foreign host t

Page 17

KwikNet System ConfigurationKADAK992.7 Modem OptionsIf a KwikNet network requires modem support, you must define the modem parameterswhich govern its

Page 18

100KADAKKwikNet System ConfigurationModem Options (continued)Connection MethodFrom the pull down list, choose the method by which the modem connection

Page 19

KwikNet System ConfigurationKADAK101Modem Options (continued)Initialization StringThe modem initialization string is sent to the modem before each dia

Page 20

102KADAKKwikNet System ConfigurationThis page left blank intentionally.

Page 21 - 1.2 General Operation

KwikNet System ConstructionKADAK1033. KwikNet System Construction3.1 Building an ApplicationIf you are using KwikNet with AMX or have ported KwikNet

Page 22 - Application

104KADAKKwikNet System Construction3.2 Making the KwikNet LibraryTo build the KwikNet Library, you will need a make utility capable of running your C

Page 23

KwikNet System ConstructionKADAK105KwikNetConfigurationBuilderCompilerHeaderKNZZZCC.HTailoringFileKNZZZCC.INCOS InterfaceModuleKN_OSIF.CKN_OSIF.HOS In

Page 24

xKADAKKwikNet User's GuideKwikNet TCP/IP Stack User's GuideAppendicesPageAppendix A. Reference Materials and Glossary A-1A.1 Reference M

Page 25

106KADAKKwikNet System ConstructionKwikNet Directories and FilesThe make process depends upon the structure of the KwikNet installation directoryKNTnn

Page 26

KwikNet System ConstructionKADAK107KwikNet Library Make FileThe KwikNet Configuration Builder is used to create and edit your Network ParameterFile, s

Page 27 - 1.3 KwikNet Nomenclature

108KADAKKwikNet System ConstructionCreating the KwikNet LibraryThe KwikNet Library must be constructed from within directory MAKE in the KwikNetinsta

Page 28

KwikNet System ConstructionKADAK1093.3 KwikNet Library Compilation OutputWhen you build the KwikNet Library as described in Chapter 3.2, the make uti

Page 29

110KADAKKwikNet System Construction3.4 Compiling Application ModulesIn order to compile an application C source file, say MYFILE.C, which makes use o

Page 30

KwikNet System ConstructionKADAK1113.5 Linking the ApplicationTo add KwikNet to your application, you must include the KwikNet Library moduleKNnnnIP.

Page 31

112KADAKKwikNet System Construction3.6 Making the TCP/IP Sample ProgramThe KwikNet TCP/IP Stack includes a sample program, a working application that

Page 32

KwikNet System ConstructionKADAK113TCP/IP Sample Program FilesTo build the KwikNet TCP/IP Sample Program using make file KNSAMPLE.MAK, each of thefoll

Page 33

114KADAKKwikNet System ConstructionTCP/IP Sample Program Parameter FileThe Network Parameter File KNSAMLIB.UP describes the KwikNet options and featur

Page 34

KwikNet System ConstructionKADAK115The TCP/IP Sample Program Make ProcessEach KwikNet sample program must be constructed from within the sample progr

Page 35

KwikNet User's GuideKADAKxiKwikNet TCP/IP Stack User's GuideTable of FiguresPageFigure 1.2-1 KwikNet Application Block Diagram ...

Page 36

116KADAKKwikNet System Construction3.7 Using KwikNet with AMX3.7.1 AMX System ConfigurationKwikNet includes its own interface to the underlying oper

Page 37 - 1.8 KwikNet Console Driver

KwikNet System ConstructionKADAK117AMX Interrupt StackYou may have to grow the size of your AMX Interrupt Stack, the stack used by allInterrupt Servic

Page 38

118KADAKKwikNet System ConstructionKwikNet Restart and Exit ProceduresYou must include KwikNet Restart Procedure kn_osready first (or near first) in y

Page 39 - 1.9 Debugging Aids

KwikNet System ConstructionKADAK1193.7.2 AMX Target ConfigurationEach KwikNet device driver for AMX includes an Interrupt Service Procedure consistin

Page 40

120KADAKKwikNet System Construction3.7.3 Toolset ConsiderationsTailoring FilesThe KwikNet Library is constructed using your make utility, C compiler

Page 41

KwikNet System ConstructionKADAK1213.7.4 AMX Application Construction SummaryConstruction of any KwikNet application for use with AMX will closely fo

Page 42

122KADAKKwikNet System ConstructionThis page left blank intentionally.

Page 43

KwikNet Low Level ServicesKADAK1234. KwikNet Low Level Services4.1 The UDP Programming InterfaceApplications which are memory constrained or have no

Page 44

124KADAKKwikNet Low Level ServicesThe UDP ChannelKwikNet offers an alternate, low level UDP API which you enable by editing yourNetwork Parameter File

Page 45

KwikNet Low Level ServicesKADAK125Receiving UDP DatagramsIf you expect to receive a UDP datagram from a foreign host, your open request mustprovide a

Page 46

xiiKADAKKwikNet User's GuideThis page left blank intentionally.

Page 47

126KADAKKwikNet Low Level ServicesProcessing Received UDP DatagramsYour UDP callback function executes in the context of the KwikNet Task. Your funct

Page 48

KwikNet Low Level ServicesKADAK1274.2 DHCP, BOOTP and Auto IP4.2.1 DHCP and BOOTPKwikNet includes support for the Dynamic Host Configuration Protoco

Page 49 - 2.1 Introduction

128KADAKKwikNet Low Level ServicesDHCP and BOOTP OperationThe KwikNet DHCP Client automatically requests an IP address for a DHCP enabledEthernet net

Page 50

KwikNet Low Level ServicesKADAK129DHCP TimeoutIf no response is received from any DHCP or BOOTP server within the timeout interval(initially four seco

Page 51

130KADAKKwikNet Low Level Services4.2.2 Auto IP OperationThere is an optional KwikNet component which provides the Auto IP service which anEthernet n

Page 52 - Edit menu

KwikNet Low Level ServicesKADAK1314.3 The DNS ClientThe KwikNet DNS Client is an optional component providing support for the DomainName System (DNS

Page 53

132KADAKKwikNet Low Level ServicesDNS QueriesThe DNS client will always start a new DNS name lookup by querying the primary DNSserver first. If no pr

Page 54

KwikNet Low Level ServicesKADAK1334.4 ICMP ProtocolKwikNet includes support for the subset of Internet Control Message Protocol (ICMP)services it nee

Page 55

134KADAKKwikNet Low Level ServicesThis page left blank intentionally.

Page 56

KwikNet Low Level ServicesKADAK1354.5 KwikNet Network Interface ServicesIntroduction to Network InterfacesMost embedded systems include one or two ne

Page 57

KwikNet OverviewKADAK11. KwikNet Overview1.1 IntroductionThe KwikNet® TCP/IP Stack is a compact, reliable, high performance TCP/IP stack, wellsuited

Page 58 - Target Parameters

136KADAKKwikNet Low Level ServicesNetwork DescriptorWhen a network interface is added with a call to kn_ifadd(), KwikNet allocates anetwork descripto

Page 59

KwikNet Low Level ServicesKADAK137Network Parameter StructureWhen a network interface is opened with a call to kn_ifopen(), KwikNet configures theinte

Page 60 - OS Parameters

138KADAKKwikNet Low Level ServicesNetwork Parameter Structure (SLIP)struct knx_np_slip {struct in_addr xp_slip_ipaddr; /* Network IP address */struct

Page 61

KwikNet Low Level ServicesKADAK139Network Parameter Structure (PPP)struct knx_np_ppp {struct in_addr xp_ppp_ipaddr; /* Network IP address */struct in_

Page 62

140KADAKKwikNet Low Level ServicesNetwork AttributesEach network parameter structure includes a field which is used to specify the networkinterface at

Page 63

KwikNet Low Level ServicesKADAK141Network StatesA network interface is always in one of three states. The interface is down when firstadded to the Kw

Page 64 - General Stack Parameters

142KADAKKwikNet Low Level ServicesStarting and Stopping KwikNetMost applications start KwikNet with a call to kn_enter() and allow KwikNet to runforev

Page 65

KwikNet Low Level ServicesKADAK1434.6 KwikNet Library ServicesThe KwikNet Library provides a set of network services from which the real-time systemd

Page 66

144KADAKKwikNet Low Level ServicesThe following BSD-like services are also available in the KwikNet IP Library.gethostbyname Get the IP address of a h

Page 67 - IPv4 Stack Parameters

KwikNet Low Level ServicesKADAK145KwikNet Procedure DescriptionsA description of all KwikNet low level service procedures is provided in this chapter.

Page 68

2KADAKKwikNet OverviewInstallationKwikNet is delivered to you on a CD-ROM. During installation you will need yourKwikNet CD serial number and product

Page 69

146KADAKKwikNet Low Level ServicesKwikNet Procedure Descriptions (continued)Used by n Task o ISP o Timer Procedure o Restart Procedure o Exit Procedur

Page 70 - TCP Stack Parameters

KwikNet Low Level ServicesKADAK147hton– hton–ntoh– ntoh–Purpose Convert Between Host and Network Endian FormsUsed byn Task n ISP n Timer Procedure n R

Page 71

148KADAKKwikNet Low Level Serviceskn_addserver kn_addserverPurpose Install (Add) a Server FunctionUsed byn Task o ISP o Timer Procedure o Restart Proc

Page 72

KwikNet Low Level ServicesKADAK149kn_cksum kn_cksumPurpose Compute an IP ChecksumUsed byn Task o ISP o Timer Procedure o Restart Procedure o Exit Proc

Page 73 - Ethernet Parameters

150KADAKKwikNet Low Level Serviceskn_dprintf kn_dprintfPurpose Format and Log a Text MessageUsed byn Task o ISP o Timer Procedure n Restart Procedure

Page 74

KwikNet Low Level ServicesKADAK151kn_enter kn_enterkn_exit kn_exitPurpose Launch or Terminate the KwikNet TCP/IP StackUsed by n Task o ISP o Timer Pro

Page 75

152KADAKKwikNet Low Level Serviceskn_fmt kn_fmtPurpose Format a Text StringUsed byn Task o ISP o Timer Procedure n Restart Procedure n Exit ProcedureS

Page 76

KwikNet Low Level ServicesKADAK153Formats ...continuedAllowable format specification strings must be of the form "...%-0##z?..."where:% = f

Page 77

154KADAKKwikNet Low Level Serviceskn_godown kn_godownPurpose Initiate a Shutdown of the KwikNet TCP/IP StackUsed byn Task o ISP o Timer Procedure o Re

Page 78

KwikNet Low Level ServicesKADAK155kn_ifadd kn_ifaddPurpose Add a Network InterfaceUsed byn Task o ISP o Timer Procedure o Restart Procedure o Exit Pro

Page 79 - DNS Client Parameters

KwikNet OverviewKADAK3ManualsThis KwikNet User's Guide describes how KwikNet is used with the standard distributionof Turbo Treck from Treck Inc.

Page 80

156KADAKKwikNet Low Level Serviceskn_ifaddress kn_ifaddressPurpose Get the IP Address for a Network InterfaceUsed byn Task o ISP o Timer Procedure o R

Page 81 - Optional Components

KwikNet Low Level ServicesKADAK157kn_ifclose kn_ifclosePurpose Close a Network InterfaceUsed byn Task o ISP o Timer Procedure o Restart Procedure n Ex

Page 82

158KADAKKwikNet Low Level Serviceskn_iffind kn_iffindPurpose Find a Network Interface with a Specific Network TagUsed byn Task o ISP o Timer Procedure

Page 83 - Debug and Logging Parameters

KwikNet Low Level ServicesKADAK159kn_ifinfo kn_ifinfoPurpose Fetch Information About a Network InterfaceUsed byn Task o ISP o Timer Procedure o Restar

Page 84

160KADAKKwikNet Low Level Serviceskn_ifmodem kn_ifmodemPurpose Attach the Modem Driver to a Network InterfaceUsed byn Task o ISP o Timer Procedure o R

Page 85

KwikNet Low Level ServicesKADAK161kn_ifnethook kn_ifnethookPurpose Register a Network Hook Function for a Network InterfaceUsed byn Task o ISP o Timer

Page 86

162KADAKKwikNet Low Level Serviceskn_ifnext kn_ifnextPurpose Find the Next Available Network InterfaceUsed byn Task o ISP o Timer Procedure o Restart

Page 87

KwikNet Low Level ServicesKADAK163kn_ifopen kn_ifopenPurpose Open a Network InterfaceUsed byn Task o ISP o Timer Procedure o Restart Procedure n Exit

Page 88

164KADAKKwikNet Low Level Serviceskn_ifstate kn_ifstatePurpose Query the State of a Network InterfaceUsed byn Task o ISP o Timer Procedure o Restart P

Page 89

KwikNet Low Level ServicesKADAK165kn_inet_addr kn_inet_addrPurpose Convert a Dotted Decimal IP Address to Numeric FormUsed byn Task o ISP o Timer Proc

Page 90

4KADAKKwikNet OverviewThe KwikNet User's GuideChapter 1 provides an overview of the KwikNet TCP/IP Stack. The general operation ofKwikNet is des

Page 91

166KADAKKwikNet Low Level Serviceskn_inet_ntoa kn_inet_ntoaPurpose Convert a Numeric IP Address to Dotted Decimal String FormUsed byn Task o ISP o Tim

Page 92

KwikNet Low Level ServicesKADAK167kn_logbuffree kn_logbuffreePurpose Free a KwikNet Log BufferUsed byn Task o ISP o Timer Procedure o Restart Procedur

Page 93

168KADAKKwikNet Low Level Serviceskn_netevent kn_neteventPurpose Notify Application of Significant Network Event (User Function)Used byn Task o ISP o

Page 94

KwikNet Low Level ServicesKADAK169kn_netstats kn_netstatsPurpose Log KwikNet Network StatisticsUsed byn Task o ISP o Timer Procedure o Restart Procedu

Page 95

170KADAKKwikNet Low Level Serviceskn_panic kn_panicPurpose Generate a KwikNet Fatal ErrorUsed byn Task o ISP o Timer Procedure o Restart Procedure n E

Page 96

KwikNet Low Level ServicesKADAK171kn_state kn_statePurpose Sense the Operating State of the KwikNet TCP/IP StackUsed byn Task o ISP o Timer Procedure

Page 97

172KADAKKwikNet Low Level Serviceskn_udpbind kn_udpbindPurpose Bind a Local IP Address and Port to a UDP ChannelUsed byn Task o ISP o Timer Procedure

Page 98

KwikNet Low Level ServicesKADAK173kn_udpclose kn_udpclosePurpose Close a UDP ChannelUsed byn Task o ISP o Timer Procedure o Restart Procedure n Exit P

Page 99 - SLIP IP Address Definition

174KADAKKwikNet Low Level Serviceskn_udpfree kn_udpfreePurpose Free a Received UDP Message PacketUsed byn Task o ISP o Timer Procedure o Restart Proce

Page 100

KwikNet Low Level ServicesKADAK175kn_udpopen kn_udpopenPurpose Open a UDP Channel to Send/Receive UDP Datagrams on a NetworkUsed byn Task o ISP o Time

Page 101

KwikNet OverviewKADAK5The Treck TCP/IP User ManualThe Treck TCP/IP User Manual provides extensive documentation of the Turbo TreckTCP/IP Stack and the

Page 102

176KADAKKwikNet Low Level ServicesDescription ...continuedUdprcv is the name of your application callback function which will becalled to process rece

Page 103 - Modem Options

KwikNet Low Level ServicesKADAK177...continuedExample #include "kn_lib.h"CJ_ID udptaskid; /* UDP Task id */volatile int udpresult; /* Result

Page 104

178KADAKKwikNet Low Level Serviceskn_udpsend kn_udpsendPurpose Send a UDP Datagram on a NetworkUsed byn Task o ISP o Timer Procedure o Restart Procedu

Page 105

KwikNet Low Level ServicesKADAK179kn_yield kn_yieldPurpose Yield to the KwikNet TaskUsed byn Task o ISP o Timer Procedure o Restart Procedure o Exit P

Page 106

180KADAKKwikNet Low Level Servicesntoh– ntoh–hton– hton–Purpose Convert Between Network and Host Endian FormsUsed byn Task n ISP n Timer Procedure n R

Page 107

KwikNet TCP/IP SocketsKADAK1815. KwikNet TCP/IP Sockets5.1 Introduction to KwikNet SocketsSockets is an application programming interface (API) whic

Page 108 - Networks

182KADAKKwikNet TCP/IP SocketsKwikNet Sockets APIThe KwikNet TCP sockets API is a subset of that available on UNIX systems. Examplesof networking cod

Page 109

KwikNet TCP/IP SocketsKADAK183Non-Blocking SocketsWhen operations are performed using a socket, the caller requesting the action is usuallyforced to w

Page 110 - PPP IP Address Definition

184KADAKKwikNet TCP/IP Sockets5.2 Socket TypesProcedure kn_socket() is used to create a socket. The KwikNet TCP/IP Stack onlysupports sockets for u

Page 111

KwikNet TCP/IP SocketsKADAK185Functions kn_writev() and kn_readv() can also be used to send and receive data. Ifyou have provided a destination addre

Page 113 - 2.7 Modem Options

6KADAKKwikNet OverviewKwikNet provides access to all of the network statistics maintained by the Turbo TreckTCP/IP Stack and it optional components.

Page 114

186KADAKKwikNet TCP/IP SocketsUDP Sockets ExamplesThe following examples illustrate how a UDP socket can be used in a variety ofcircumstances for diff

Page 115

KwikNet TCP/IP SocketsKADAK1875.3 Socket OptionsThe operation of sockets is controlled by socket level options. Options are alwayspresent at the soc

Page 116

188KADAKKwikNet TCP/IP SocketsOption SO_BROADCAST requests permission to send broadcast datagrams on the socket.Option SO_OOBINLINE, used with protoco

Page 117 - 3.1 Building an Application

KwikNet TCP/IP SocketsKADAK189Non-Standard Socket OptionsThe non-standard option SO_NONBLOCK can be used to set a socket into non-blockingmode so that

Page 118

190KADAKKwikNet TCP/IP SocketsThis page left blank intentionally.

Page 119 - KwikNet Library Construction

KwikNet TCP/IP SocketsKADAK1915.4 KwikNet Socket ServicesKwikNet Socket Service SummaryThe following list summarizes all of the KwikNet sockets proce

Page 120

192KADAKKwikNet TCP/IP SocketsThis page left blank intentionally.

Page 121

KwikNet TCP/IP SocketsKADAK193kn_accept kn_acceptPurpose Accept a Connection RequestUsed byn Task o ISP o Timer Procedure o Restart Procedure o Exit P

Page 122

194KADAKKwikNet TCP/IP SocketsReturns ...continuedThe error indicator for socket s is set to define the reason for failure. Usekn_errno() to retrieve

Page 123

KwikNet TCP/IP SocketsKADAK195kn_bind kn_bindPurpose Bind a Local Address to a SocketUsed byn Task o ISP o Timer Procedure o Restart Procedure o Exit

Page 124

KwikNet OverviewKADAK71.2 General OperationThe KwikNet TCP/IP Stack and your application operate as illustrated in Figure 1.2-1. Ifyou are using Kwi

Page 125 - 3.5 Linking the Application

196KADAKKwikNet TCP/IP Socketskn_close kn_closePurpose Close a SocketUsed byn Task o ISP o Timer Procedure o Restart Procedure o Exit ProcedureSetup P

Page 126

KwikNet TCP/IP SocketsKADAK197kn_connect kn_connectPurpose Connect a Socket to a Specific AddressUsed byn Task o ISP o Timer Procedure o Restart Proce

Page 127

198KADAKKwikNet TCP/IP SocketsReturns ...continuedThe error indicator for socket s is set to define the reason for failure. Usekn_errno() to retrieve

Page 128

KwikNet TCP/IP SocketsKADAK199kn_errno kn_errnoPurpose Get Error Code from Recent Socket OperationUsed byn Task o ISP o Timer Procedure o Restart Proc

Page 129

200KADAKKwikNet TCP/IP Socketskn_getpeername kn_getpeernamePurpose Get the Address (Name) of the Remote End of a Connected SocketUsed byn Task o ISP o

Page 130 - 3.7 Using KwikNet with AMX

KwikNet TCP/IP SocketsKADAK201kn_getsockname kn_getsocknamePurpose Get the Local Address (Name) of a SocketUsed byn Task o ISP o Timer Procedure o Res

Page 131

202KADAKKwikNet TCP/IP Socketskn_getsockopt kn_getsockoptPurpose Get a Particular Socket OptionUsed byn Task o ISP o Timer Procedure o Restart Procedu

Page 132

KwikNet TCP/IP SocketsKADAK203Description ...continuedOptionval is a pointer to storage for the option value. The size of eachoption is indicated in

Page 133

204KADAKKwikNet TCP/IP Socketskn_listen kn_listenPurpose Request a Socket to Listen for Connection RequestsUsed byn Task o ISP o Timer Procedure o Res

Page 134 - 3.7.3 Toolset Considerations

KwikNet TCP/IP SocketsKADAK205kn_readv kn_readvPurpose Receive Scattered Data from a SocketUsed byn Task o ISP o Timer Procedure o Restart Procedure o

Page 135

8KADAKKwikNet OverviewApplicationApplicationOS InterfaceKNSAMOS.CKNSAMOS.HKwikNetTCP/IPStackOS InterfaceModuleKN_OSIF.CKN_OSIF.HRT/OSRT/OSClock Driver

Page 136

206KADAKKwikNet TCP/IP SocketsReturns ...continuedThe error indicator for socket s is set to define the reason for failure. Usekn_errno() to retrieve

Page 137

KwikNet TCP/IP SocketsKADAK207kn_recv kn_recvPurpose Receive Data from a Connected SocketUsed byn Task o ISP o Timer Procedure o Restart Procedure o E

Page 138

208KADAKKwikNet TCP/IP SocketsRestriction If there is no data available at the socket, the caller will be blocked waitingfor data to arrive unless the

Page 139

KwikNet TCP/IP SocketsKADAK209kn_recvfrom kn_recvfromPurpose Receive Data from a SocketUsed byn Task o ISP o Timer Procedure o Restart Procedure o Exi

Page 140

210KADAKKwikNet TCP/IP SocketsReturns If successful, the number of bytes of data stored at *buf is returned.If the socket is closed by the sender, the

Page 141 - 4.2 DHCP, BOOTP and Auto IP

KwikNet TCP/IP SocketsKADAK211kn_select kn_selectPurpose Select Sockets Ready for Receive or SendUsed byn Task o ISP o Timer Procedure o Restart Proce

Page 142 - KwikNet Low Level Services

212KADAKKwikNet TCP/IP SocketsDescription ...continuedTimeout is a pointer to a structure which defines the interval for which thecaller is prepared t

Page 143

KwikNet TCP/IP SocketsKADAK213Returns If successful, this procedure returns the total number of ready socketsidentified in the descriptor sets. The v

Page 144

214KADAKKwikNet TCP/IP Socketskn_send kn_sendPurpose Send Data to a Connected SocketUsed byn Task o ISP o Timer Procedure o Restart Procedure o Exit P

Page 145 - 4.3 The DNS Client

KwikNet TCP/IP SocketsKADAK215Restriction If none of the message data can be delivered to the socket, the caller willbe blocked unless the socket s is

Page 146 - TM_EWOULDBLOCK

KwikNet OverviewKADAK9KwikNet OperationThe KwikNet TCP/IP Stack can be used with either a multitasking RTOS or a singlethreaded operating system. Kw

Page 147 - 4.4 ICMP Protocol

216KADAKKwikNet TCP/IP Socketskn_sendto kn_sendtoPurpose Send Data to a SocketUsed byn Task o ISP o Timer Procedure o Restart Procedure o Exit Procedu

Page 148

KwikNet TCP/IP SocketsKADAK217Returns If successful, the number of bytes of data sent from *buf is returned.On failure, the error status -1 is returne

Page 149

218KADAKKwikNet TCP/IP Socketskn_setsockopt kn_setsockoptPurpose Set a Particular Socket OptionUsed byn Task o ISP o Timer Procedure o Restart Procedu

Page 150

KwikNet TCP/IP SocketsKADAK219Description ...continuedOptionval is a pointer to the option value. The size of each option isindicated in the option l

Page 151

220KADAKKwikNet TCP/IP Socketskn_shutdown kn_shutdownPurpose Shut down All or Part of a Full Duplex Socket ConnectionUsed byn Task o ISP o Timer Proce

Page 152

KwikNet TCP/IP SocketsKADAK221kn_socket kn_socketPurpose Create a Socket (an Endpoint for Communication)Used byn Task o ISP o Timer Procedure o Restar

Page 153

222KADAKKwikNet TCP/IP SocketsReturns If successful, a non-negative socket descriptor is returned.On failure, the error status -1 is returned.If a soc

Page 154

KwikNet TCP/IP SocketsKADAK223kn_writev kn_writevPurpose Send Scattered Data to a SocketUsed byn Task o ISP o Timer Procedure o Restart Procedure o Ex

Page 155

224KADAKKwikNet TCP/IP SocketsReturns ...continuedThe error indicator for socket s is set to define the reason for failure. Usekn_errno() to retrieve

Page 156

KwikNet PPP OptionKADAK2256. KwikNet PPP Option6.1 Introduction to PPPThe Point-to-Point Protocol (PPP) is a network protocol used to control the de

Page 157 - 4.6 KwikNet Library Services

10KADAKKwikNet OverviewMultitasking OperationIn a multitasking system which uses an RTOS, operation of the TCP/IP stack iscontrolled by a single task

Page 158

226KADAKKwikNet PPP OptionBeyond the summary above, this manual makes no attempt to describe the Point-to-PointProtocol (PPP), what it is or how it op

Page 159

KwikNet PPP OptionKADAK2276.2 KwikNet PPP ConfigurationYou can readily tailor the KwikNet stack to accommodate your PPP needs by using theKwikNet Con

Page 160

228KADAKKwikNet PPP OptionPPP Network DefinitionYou must define each PPP network which your application must support. A separatedefinition is require

Page 161

KwikNet PPP OptionKADAK229PPP OptionsFor each KwikNet network which supports PPP, you must define the PPP parameterswhich govern its use. These PPP o

Page 162

230KADAKKwikNet PPP Option6.3 Using a PPP Network InterfaceThe PPP Client and ServerThe easiest way to add a PPP network interface to your KwikNet ap

Page 163

KwikNet PPP OptionKADAK231Opening a PPP Network InterfaceThe KwikNet PPP network driver supervises the orderly opening of the PPP networkinterface.

Page 164

232KADAKKwikNet PPP Option6.4 PPP Authentication ParametersIf any of your PPP networks require PAP, CHAP, MS-CHAP or EAP authentication, youmust prov

Page 165

KwikNet PPP OptionKADAK233File KN_PPPAA.C provides the authentication parameters for one user on a single PPPnetwork interface. You must edit this mo

Page 166

234KADAKKwikNet PPP Optionkn_ppp_admin kn_ppp_adminPurpose Provide PPP Authentication ServicesContextn KwikNet Task n Application TaskSetup Prototype

Page 167

KwikNet PPP OptionKADAK235Description ...continuedInterpretation of parameters instr and outbuf for each value of opcodeis as follows.For operation co

Page 168

KwikNet OverviewKADAK11Single Threaded OperationSingle threaded operation is only supported by KwikNet if you are using the KwikNetPorting Kit.In a si

Page 169

236KADAKKwikNet PPP Option...continuedReturns For operations which return a pointer to an authentication parameter in thestorage at *outbuf, an intege

Page 170

KwikNet PPP OptionKADAK2376.5 Adding PPP to Your ApplicationBefore you add the PPP protocol to your application, you must have a working KwikNet IPst

Page 171

238KADAKKwikNet PPP OptionReconstructing Your KwikNet ApplicationIf you have not already done so, add your network serial device drivers to yourapplic

Page 172

KwikNet Virtual File SystemKADAK2397. KwikNet Virtual File System7.1 IntroductionFor embedded systems which may not need a full-featured file system

Page 173

240KADAKKwikNet Virtual File SystemVFS File NamesThe file name of a virtual file is a text string consisting of two parts, the volume base andthe file

Page 174

KwikNet Virtual File SystemKADAK241VFS File OperationsThe Virtual File System provides a set of file access functions with names of the formkvf_xxxxx(

Page 175

242KADAKKwikNet Virtual File SystemVFS File Access RightsUser access to files within the KwikNet Virtual File System is governed by the KwikNetAdminis

Page 176

KwikNet Virtual File SystemKADAK2437.2 Virtual File System DefinitionEach KwikNet Virtual File System volume is defined by directives contained in a

Page 177

244KADAKKwikNet Virtual File SystemA variation of the example from Figure 7.2-1 will illustrate how easy it is to reorganizefiles within a Virtual Fil

Page 178

KwikNet Virtual File SystemKADAK245File CompressionThe VFS Generator can compress the files which make up your Virtual File System,thereby reducing th

Page 179

12KADAKKwikNet OverviewYour App-Task can interact with KwikNet using the UDP or IP programming interface orthe TCP or UDP socket services.At times, Kw

Page 180

246KADAKKwikNet Virtual File SystemVFS Definition File DirectivesEach directive in a VFS Definition File consists of a keyword of the form ...XXXXXX i

Page 181

KwikNet Virtual File SystemKADAK247Source FilesThe files which are to be inserted into your Virtual File System are specified usingkeyword ...IN...IN

Page 182

248KADAKKwikNet Virtual File SystemCompression ModeThe VFS Generator operates with file compression enabled or disabled. The currentcompression state

Page 183

KwikNet Virtual File SystemKADAK249Tag String Case AdjustmentThe ...TAGCASE keyword is used to adjust the case of all compression strings definedusing

Page 184

250KADAKKwikNet Virtual File SystemSector SizeVirtual files are stored in character arrays which, for lack of a better term, are calledsector arrays.

Page 185

KwikNet Virtual File SystemKADAK2517.3 Using the VFS GeneratorThe KwikNet VFS Generator is a utility program which will create a Virtual File Systemf

Page 186

252KADAKKwikNet Virtual File SystemVFS Template FileKN_VFG.CTVFS Definition FileYOUR_VFS.UVFVirtual File SystemGeneratorYOURVFS*.CVFSDataFile(s)VFS St

Page 187

KwikNet Virtual File SystemKADAK253Running the VFS GeneratorThe KwikNet VFS Generator is a utility program which is provided ready for use on a PCor c

Page 188

254KADAKKwikNet Virtual File System-p srcpath Srcpath is the full path defining the location of VFS source files whichare to be placed into the Virtua

Page 189

KwikNet Virtual File SystemKADAK255-t template Template is the full path and file name of the KwikNet VFS Template File.The working directory is used

Page 190

KwikNet OverviewKADAK131.3 KwikNet NomenclatureThe following nomenclature standards have been adopted throughout this manual.Numbers used in this man

Page 191 - ...continued

256KADAKKwikNet Virtual File SystemCompiling the VFS Data FilesThe VFS Generator produces a set of one or more VFS Data Files which, collectively,form

Page 192

KwikNet Virtual File SystemKADAK2577.4 Multiple VFS VolumesThe KwikNet Virtual File System usually consists of only one volume. However, theVirtual

Page 193

258KADAKKwikNet Virtual File System7.5 VFS Service ProceduresThe following list summarizes KwikNet VFS service procedures which are accessible toyour

Page 194

KwikNet Virtual File SystemKADAK259kvf_close kvf_closePurpose Close a Virtual FileUsed byn Task o ISP o Timer Procedure o Restart Procedure n Exit Pro

Page 195 - Sockets

260KADAKKwikNet Virtual File Systemkvf_fsize kvf_fsizePurpose Fetch the Size of a Virtual FileUsed byn Task o ISP o Timer Procedure o Restart Procedur

Page 196

KwikNet Virtual File SystemKADAK261kvf_isvfile kvf_isvfilePurpose Determine if a File is a Virtual FileUsed byn Task o ISP o Timer Procedure o Restart

Page 197

262KADAKKwikNet Virtual File Systemkvf_open kvf_openPurpose Open a Virtual FileUsed byn Task o ISP o Timer Procedure o Restart Procedure n Exit Proced

Page 198 - 5.2 Socket Types

KwikNet Virtual File SystemKADAK263kvf_read kvf_readPurpose Read from a Virtual FileUsed byn Task o ISP o Timer Procedure o Restart Procedure n Exit P

Page 199

264KADAKKwikNet Virtual File Systemkvf_seek kvf_seekPurpose Seek Within a Virtual FileUsed byn Task o ISP o Timer Procedure o Restart Procedure n Exit

Page 200

KwikNet Virtual File SystemKADAK265kvf_tell kvf_tellPurpose Determine the Current Position of the File Pointer in a Virtual FileUsed byn Task o ISP o

Page 201 - 5.3 Socket Options

14KADAKKwikNet Overview1.4 Byte Ordering and EndiannessTo use a TCP/IP stack, you must adhere to the byte ordering rules defined by the TCP/IPprotoco

Page 202

266KADAKKwikNet Virtual File Systemkvf_voladd kvf_voladdkvf_voldel kvf_voldelPurpose Add/Delete a Virtual File System VolumeUsed byn Task o ISP o Time

Page 203

Reference Materials and GlossaryKADAKA - 1A. Reference Materials and GlossaryA.1 Reference MaterialsThe following reference books and documents are

Page 204 - KwikNet TCP/IP Sockets

A - 2KADAKReference Materials and GlossaryThis page left blank intentionally.

Page 205 - 5.4 KwikNet Socket Services

Reference Materials and GlossaryKADAKA - 3A.2 KwikNet GlossaryAPI An application programming interface defines the method bywhich a software program

Page 206

A - 4KADAKReference Materials and GlossaryHandle An identifier assigned by AMX or KwikNet for use by yourapplication to reference a private AMX or Kwi

Page 207

Reference Materials and GlossaryKADAKA - 5MAC Media Access Control: a general term used to define the methodby which access to a physical network is

Page 208

A - 6KADAKReference Materials and GlossaryRAM Alterable memory used for data storage and stacks.Restart Procedure An AMX or application procedure exec

Page 209

Reference Materials and GlossaryKADAKA - 7System Configuration ModuleA software module, produced by the AMX Configuration Builder,which defines the ch

Page 210

A - 8KADAKReference Materials and GlossaryThis page left blank intentionally.

Page 211

KwikNet Error CodesKADAKB - 1B. KwikNet Error CodesTCP/IP Socket Error CodesTCP/IP socket error codes are signed integers. An error code of -1 indic

Page 212

KwikNet OverviewKADAK15Net Endian DataKwikNet provides a set of macros (or functions) which can be used by applications toconvert 2-byte (short) value

Page 213

B - 2KADAKKwikNet Error CodesKwikNet Error CodesKwikNet error codes are signed integers. Codes less than zero are error codes. Codesgreater than zer

Page 214

KwikNet Error CodesKADAKB - 3KwikNet Error Codes (continued)Mnemonic Value Value Meaning(dec) (hex)TFTP errorsKN_ERTFD -260 0xFEFC Invalid TFTP descri

Page 215

B - 4KADAKKwikNet Error CodesKwikNet Error Codes (continued)Mnemonic Value Value Meaning(dec) (hex)SMTP errorsKN_ERSMND -280 0xFEE8 Invalid SMTP descr

Page 216

KwikNet Error CodesKADAKB - 5KwikNet Fatal Error CodesMnemonic Value Value Meaning(dec) (hex)KN_FERNOTASK 100 0x0064 Cannot find KwikNet TaskKN_FERNOT

Page 217

B - 6KADAKKwikNet Error CodesThis page left blank intentionally.

Page 218

KwikNet Universal File System InterfaceKADAKC - 1C. KwikNet File System InterfaceC.1 IntroductionThe KwikNet TCP/IP Stack does not require a file s

Page 219

C - 2KADAKKwikNet Universal File System InterfaceC.1.2 KwikNet Universal File SystemKwikNet provides an alternate interface to the file services prov

Page 220

KwikNet Universal File System InterfaceKADAKC - 3C.2 KwikNet File System ParametersThe KwikNet Universal File System (UFS) interface and the Treck Fi

Page 221

C - 4KADAKKwikNet Universal File System InterfaceFile System Parameters (continued)Attached File SystemIf you are using a KwikNet option such as FTP o

Page 222

KwikNet Universal File System InterfaceKADAKC - 5File System Parameters (continued)Maximum Path and File Name LengthsSpecify the maximum number of cha

Page 223

KwikNet User's GuideKADAKiTECHNICAL SUPPORTKADAK Products Ltd. is committed to technical support for its software products. Ourprograms are desi

Page 224

16KADAKKwikNet Overview1.5 Memory Allocation RequirementsKwikNet must be able to dynamically allocate and free blocks of memory of varying sizes.Kwik

Page 225

C - 6KADAKKwikNet Universal File System InterfaceC.3 Using the AMX/FS File SystemThe KwikNet Universal File System (UFS) interface supports the AMX/F

Page 226

KwikNet Universal File System InterfaceKADAKC - 7AMX System StartupSpecial care must be taken when launching an AMX system which includes both KwikNet

Page 227

C - 8KADAKKwikNet Universal File System InterfaceC.4 Using the MS-DOS File SystemWhen used with AMX 86, the KwikNet Universal File System (UFS) inter

Page 228

KwikNet Universal File System InterfaceKADAKC - 9C.5 Using a Custom File SystemThe KwikNet Universal File System (UFS) interface can be adapted to su

Page 229

C - 10KADAKKwikNet Universal File System InterfaceThis page left blank intentionally.

Page 230

KwikNet Administration InterfaceKADAKD - 1D. KwikNet Administration InterfaceD.1 IntroductionMany network protocols, such as FTP, were originally de

Page 231

D - 2KADAKKwikNet Administration InterfaceUser Access RightsUser access rights are formed from the logical OR of the following bit masks which aredefi

Page 232

KwikNet Administration InterfaceKADAKD - 3D.2 KwikNet Administration ParametersThe KwikNet administration interface forms part of the KwikNet Librar

Page 233

D - 4KADAKKwikNet Administration InterfaceAdministration Parameters (continued)Maximum User Name and Password LengthsSpecify the maximum number of cha

Page 234

KwikNet Sample Program ArchitectureKADAKE - 1E. KwikNet Sample Program ArchitectureThe manner in which the KwikNet TCP/IP Sample Program starts and o

Page 235

KwikNet OverviewKADAK17OS Memory ManagementThe third memory allocation strategy is to use the memory allocation services providedby the operating syst

Page 236

E - 2KADAKKwikNet Sample Program ArchitectureKNSAMOS.CApplication OS Interfacemain() Sample program main entry pointsam_osshutdown() OS shutdown on ex

Page 237

KwikNet Sample Program ArchitectureKADAKE - 3KwikNet Sample Program Operation with AMXWhen KwikNet is used with AMX, the KwikNet sample programs opera

Page 238

E - 4KADAKKwikNet Sample Program ArchitectureThe sample program begins operation at task level once AMX completes its startupprocessing. The client

Page 239 - 6.1 Introduction to PPP

KwikNet Sample Program ArchitectureKADAKE - 5KwikNet Porting Kit Sample Program - Multitasking OperationWhen the KwikNet Porting Kit is used with a mu

Page 240

E - 6KADAKKwikNet Sample Program ArchitectureThe sample program begins operation at task level once the high priority startup taskterminates. The cli

Page 241 - KwikNet PPP Option

KwikNet Sample Program ArchitectureKADAKE - 7KwikNet Porting Kit Sample Program - Single Threaded OperationWhen the KwikNet Porting Kit is used with a

Page 242 - PPP Network Definition

E - 8KADAKKwikNet Sample Program ArchitectureThis page left blank intentionally.

Page 243 - PPP Options

18KADAKKwikNet OverviewMemory Allocation ProtectionWhen operating in a multitasking environment, the memory allocation services must bethread-safe. I

Page 244

KwikNet OverviewKADAK191.6 KwikNet Data Logging ServiceLike most TCP/IP stacks, KwikNet can generate a variety of messages to assist you in youruse o

Page 245

20KADAKKwikNet OverviewMessage Print AttributesThe parameter defining the message print attributes includes three fields of interest to theuser: sever

Page 246

KwikNet OverviewKADAK21KwikNet Data Log FunctionWhen message logging is enabled, the KwikNet message generation procedurekn_dprintf() calls the data l

Page 247

22KADAKKwikNet Overview1.7 KwikNet Message Recording ServiceRecognizing that embedded systems may not be able to display or print messages,KADAK prov

Page 248

KwikNet OverviewKADAK231.8 KwikNet Console DriverThe KwikNet sample programs provide support for a simple, interactive console device.The console dri

Page 249

24KADAKKwikNet OverviewSerial I/O Terminal as the Console DeviceThe KwikNet sample program includes a UART serial I/O driver which can be used withthe

Page 250

KwikNet OverviewKADAK251.9 Debugging AidsKwikNet includes a number of debug features which, if used effectively, can help you testyour networking app

Page 251

iiKADAKKwikNet User's GuideCopyright © 1997-2005 by KADAK Products Ltd.All rights reserved.No part of this publication may be reproduced, transmi

Page 252

26KADAKKwikNet OverviewBreakpoint TrapsKwikNet can generate a debug trap when it encounters an error condition which isgenerally not expected in the n

Page 253 - 7.1 Introduction

KwikNet OverviewKADAK27Debug MaskKwikNet maintains a public debug control variable, an unsigned integer namedkn_dbgflags. The bits in this variable a

Page 254

28KADAKKwikNet Overview1.10 KwikNet TCP/IP Sample Program - A TutorialA TCP/IP Sample Program is provided with KwikNet to illustrate the use of the T

Page 255

KwikNet OverviewKADAK29StartupThe manner in which the KwikNet TCP/IP Sample Program starts and operates iscompletely dependent upon the underlying ope

Page 256

30KADAKKwikNet OverviewClient - Server Using TCP SocketsThis example illustrates the use of KwikNet's TCP/IP socket interface to establish aconne

Page 257

KwikNet OverviewKADAK31The client calls kn_socket() to create a streaming socket. It then calls kn_bind() tobind itself to the socket, allowing KwikN

Page 258

32KADAKKwikNet OverviewClient - Server Using UDP SocketsThis example illustrates the use of KwikNet's UDP socket interface to deliver UDPdatagram

Page 259

KwikNet OverviewKADAK33The client then uses procedure kn_select() to wait until some data from the server isavailable for reading. The sample illustr

Page 260

34KADAKKwikNet OverviewRunning the TCP/IP Sample ProgramThe KwikNet TCP/IP Sample Program load module is built just like any other KwikNetapplication

Page 261

KwikNet System ConfigurationKADAK352. KwikNet System Configuration2.1 IntroductionCreating an application which uses the KwikNet TCP/IP Stack is a t

Page 262

KwikNet User's GuideKADAKiiiCopyright NoticeSome components of the KwikNet TCP/IP Stack have been derivedfrom the University of California's

Page 263

36KADAKKwikNet System ConfigurationTemplate FilesKwikNet Library MakeKNnnnLIB.MTKwikNet Library HeaderKNnnnLIB.HTNetwork Parameter FileNETCFG.UPConfig

Page 264

KwikNet System ConfigurationKADAK372.2 KwikNet Configuration BuilderThe KwikNet Configuration Builder is a software generation tool which can be used

Page 265 - 7.3 Using the VFS Generator

38KADAKKwikNet System ConfigurationScreen LayoutFigure 2.2-1 illustrates the Configuration Manager's screen layout. The title bar identifiesthe

Page 266

KwikNet System ConfigurationKADAK39At the bottom of the screen is the status bar. As you select menu items, a briefdescription of their purpose is di

Page 267

40KADAKKwikNet System ConfigurationField EditingWhen editing a parameter file, a collection of tabbed property sheets is displayed in thecentral regio

Page 268

KwikNet System ConfigurationKADAK41Add, Edit and Delete KwikNet ObjectsSeparate property pages are provided to allow your definition of one or more Kw

Page 269

42KADAKKwikNet System ConfigurationThis page left blank intentionally.

Page 270

KwikNet System ConfigurationKADAK432.3 KwikNet Library ConfigurationThe KwikNet Library tabbed property sheet is displayed in the central region of t

Page 271 - 7.4 Multiple VFS Volumes

44KADAKKwikNet System ConfigurationTarget ParametersThe KwikNet Library must be tailored to operate on a particular target processor. TheseKwikNet pa

Page 272 - 7.5 VFS Service Procedures

KwikNet System ConfigurationKADAK45Target Parameters (continued)Data Alignment BoundaryFrom the pull down list, choose the target processor's nat

Page 273

ivKADAKKwikNet User's GuideThis page left blank intentionally.

Page 274

46KADAKKwikNet System ConfigurationOS ParametersThe KwikNet Library must be tailored to operate with a particular operating system.These KwikNet par

Page 275

KwikNet System ConfigurationKADAK47OS Parameters (continued)Memory AllocationKwikNet must be able to dynamically allocate and free blocks of memory of

Page 276

48KADAKKwikNet System ConfigurationOS Parameters (continued)Source and Size of Memory Region (Heap)If you use the KwikNet simple heap or operating sys

Page 277

KwikNet System ConfigurationKADAK49OS Parameters (continued)Recycle Without Freeing MemoryKwikNet can recycle memory which it has allocated instead of

Page 278

50KADAKKwikNet System ConfigurationGeneral Stack ParametersA number of general network parameters which apply to the complete KwikNet TCP/IPstack are

Page 279

KwikNet System ConfigurationKADAK51General Stack Parameters (continued)Multiple NetworksLeave this box unchecked if you have only one network interfac

Page 280

52KADAKKwikNet System ConfigurationGeneral Stack Parameters (continued)KwikNet OptimizationThe KwikNet Library can be optimized for speed or size. In

Page 281 - A.1 Reference Materials

KwikNet System ConfigurationKADAK53IPv4 Stack ParametersThe KwikNet IPv4 Stack parameters are edited using the IPv4 property page. The layout ofthe w

Page 282

54KADAKKwikNet System ConfigurationIPv4 Stack Parameters (continued)IP FragmentationIf you wish KwikNet to be able to split IP datagrams for transmiss

Page 283 - A.2 KwikNet Glossary

KwikNet System ConfigurationKADAK55IPv4 Stack Parameters (continued)UDP Channel SupportKwikNet offers a simplified UDP service for those not familiar

Page 284

KwikNet User's GuideKADAKvKwikNet TCP/IP Stack User's GuideTable of ContentsPage1. KwikNet Overview 11.1 Introduction...

Page 285

56KADAKKwikNet System ConfigurationTCP Stack ParametersThe KwikNet TCP Stack parameters and socket interface options are edited using the TCPproperty

Page 286

KwikNet System ConfigurationKADAK57TCP Stack Parameters (continued)RFC2018: Selective AcknowledgementsThis box is normally checked so that KwikNet wil

Page 287

58KADAKKwikNet System ConfigurationTCP Stack Parameters (continued)Maximum Number of SocketsEnter the maximum number of sockets which your application

Page 288

KwikNet System ConfigurationKADAK59Ethernet ParametersKwikNet includes an Ethernet network driver which can support multiple Ethernetnetworks. From t

Page 289 - B. KwikNet Error Codes

60KADAKKwikNet System ConfigurationEthernet Parameters (continued)Ethernet-II FramingCheck this box if you have one or more network interfaces that on

Page 290

KwikNet System ConfigurationKADAK61Ethernet Parameters (continued)Transmit Packet Queue LimitThe KwikNet Ethernet Network Driver queues packets for tr

Page 291

62KADAKKwikNet System ConfigurationPoint-to-Point (PPP) / SLIP / Modem ParametersKwikNet has an optional Point-to-Point (PPP) network driver which is

Page 292

KwikNet System ConfigurationKADAK63PPP / SLIP / Modem Parameters (continued)Support PPPIf you have one or more PPP networks with serial UART device dr

Page 293

64KADAKKwikNet System ConfigurationPPP / SLIP / Modem Parameters (continued)Include Modem SupportKwikNet includes a modem driver for use with any SLIP

Page 294 - KwikNet Error Codes

KwikNet System ConfigurationKADAK65DNS Client ParametersKwikNet includes an optional DNS Client for accessing Domain Name System services oninterconne

Page 295 - C.1.1 Treck File Systems

viKADAKKwikNet User's GuideKwikNet TCP/IP Stack User's GuideTable of Contents (continued)Page2. KwikNet System Configuration 352.1 Introdu

Page 296

66KADAKKwikNet System ConfigurationDNS Client Parameters (continued)Include DNS ClientIf your application needs access to Domain Name System services

Page 297

KwikNet System ConfigurationKADAK67Optional ComponentsKwikNet includes a variety of client and server options, many of which are selected usingthe Opt

Page 298

68KADAKKwikNet System ConfigurationOptional Components (continued)FTP ClientCheck this box if your application will include an FTP client which connec

Page 299

KwikNet System ConfigurationKADAK69Debug and Logging ParametersKwikNet includes a number of debugging and data logging options. These options areenab

Page 300

70KADAKKwikNet System ConfigurationDebug and Logging Parameters (continued)Informational MessagesCheck this box to enable informational messages to be

Page 301

KwikNet System ConfigurationKADAK71Debug and Logging Parameters (continued)Enable Message LoggingCheck this box if you wish to provide a logging funct

Page 302

72KADAKKwikNet System ConfigurationThis page left blank intentionally.

Page 303

KwikNet System ConfigurationKADAK732.4 Adding an Ethernet Network InterfaceThe easiest way to add an Ethernet network interface to your system is to

Page 304

74KADAKKwikNet System ConfigurationEthernet Network Definition (continued)TagEach network must have a unique network tag. The tag is a string of 1 to

Page 305 - D.1 Introduction

KwikNet System ConfigurationKADAK75Ethernet Device Driver DefinitionYou must define the device driver attached to each prebuilt network which yourappl

Page 306

KwikNet User's GuideKADAKviiKwikNet TCP/IP Stack User's GuideTable of Contents (continued)Page3. KwikNet System Construction (continued) 11

Page 307

76KADAKKwikNet System ConfigurationEthernet Device Driver Definition (continued)TagEach device driver inherits the unique network tag assigned to the

Page 308

KwikNet System ConfigurationKADAK77Ethernet IP Address DefinitionYou must provide a network IP address for each prebuilt network which your applicatio

Page 309

78KADAKKwikNet System ConfigurationEthernet IP Address Definition (continued)IP VersionSelect the combination of IPv4 and IPv6 protocols that this net

Page 310

KwikNet System ConfigurationKADAK79Ethernet IP Address Definition (continued)Runtime ConfigurationThis parameter is used to select one of the several

Page 311

80KADAKKwikNet System ConfigurationThis page left blank intentionally.

Page 312

KwikNet System ConfigurationKADAK812.5 Adding a SLIP Network InterfaceThe easiest way to add a SLIP network interface to your system is to let KwikNe

Page 313

82KADAKKwikNet System ConfigurationSLIP Network Definition (continued)TagEach network must have a unique network tag. The tag is a string of 1 to 7 c

Page 314

KwikNet System ConfigurationKADAK83SLIP Serial Device Driver DefinitionYou must define the device driver attached to each prebuilt network which youra

Page 315

84KADAKKwikNet System ConfigurationSLIP Serial Device Driver Definition (continued)TagEach device driver inherits the unique network tag assigned to t

Page 316

KwikNet System ConfigurationKADAK85SLIP IP Address DefinitionYou must provide a network IP address for each prebuilt network which your applicationsup

Comments to this Manuals

No comments