PowerNet is a TCP/IP networking stack code written in Forth with support for:
The main commentary on the code and all the glossaries are generated directly from the source by the DocGen utility supplied with MPE’s VFX Forth for Windows. Both PDF and HTML versions are provided.
The code and its DocGen documentation should be considered the primary reference. Please read it.
PowerNet
|
+------ ARP Address Resolution Protocol
+------ DEFINES.FTH Various IP Constants
+------ DHCP.FTH DHCP client
+------ DIAGS.FTH Diagnostic / Test routines
+------ DNS.fth DNS client
+------ GLOBALS.FTH Global Vars/Buffers
+------ ICMP.FTH ICMP Packet handlers
+------ IP.FTH LowLevel IP access
+------ NETCODE.FTH Network and CPU dependent code
+------ POWERNET.BLD Stack Build File
+------ PRIMITIV.FTH Useful code fragments
+------ ROUTING.FTH Routing table handler
+-------SNTP.fth SNTP client.
+------ STRUCTS.FTH Various IP/BSD Structures
+------ TCP.FTH TCP Protocol Handler
+------ UDP.FTH UDP Protocol Handler
+------ USERVARS.FTH Required System Variables
|
+------ ETHER
| +------ ETHTASK.FTH Ethernet TxRx Dispatcher Task
| +------ SMC91C9X.FTH Reference Ethernet Driver
|
+------ SLIP
| +------ SLIPCOM.FTH SLIP interface
|
|------ EXAMPLES
| +------- SMTPmail SMTP mail examples
| +------- WebConfig.fth Application Configuration
| +------- WebPost.fth POST and binary update
| +------- MBusClnt.fth Modbus framework
|
+------ SOCKETS
| +------ BSD.FTH BSD Sockets API
| +------ SOCKPRIM.FTH Low Level Socket struct manip.
|
+------ QUEUES
| +------ PBUFFERS.FTH Queue Buffer handlers
| +------ QPRIMS.FTH En/DeQueue code
| +------ QUEUES.FTH Describe/initialise queues
| +------ RAM.FTH Describe TxRx RAM Useage
|
+------ SERVICES
| +------ HTTP.FTH MultiThreaded Web Server
| +------ MbusSrvr ModBus Server framework
| +------ Pages.fth Example web page handlers
| +------ Servers.fth Server core code
| +------ TcpEcho TCP Echo Server
| +------ TELNET.FTH Multi-threaded Telnet Server
| +------ TFTP.FTH Simple TFTP Server
|
+------ TestPages Example web pages
|
+------ CodeManual PDF and HTML manuals