The inet:initIP() must be called before any other functions can be called. The ethernet driver will be dynamically loaded at this time.
inet:initIP()
Compatibility: II, ///
II, ///
Usage: include "inc/inet.plh"
include "inc/inet.plh"
API:
inet:initIP() inet:serviceIP() inet:openUDP(localport, callback, param) inet:sendUDP(chan, ipdst, portdst, data, len) inet:closeUDP(chan) inet:listenTCP(lclport, callback, param) inet:connectTCP(remip, remport, lclport, callback, param) inet:sendTCP(chan, data, len) inet:closeTCP(chan) inet:resolveIP(namestr, ipaddr) inet:setCallback(chan, callback) inet:setParam(chan, param)
Source Code: inet.pla, dhcp.pla, uthernet2.pla, etherip.pla, uthernet.pla
inet.pla
dhcp.pla
uthernet2.pla
etherip.pla
uthernet.pla
Sample Source: httpd.pla, chat.pla
httpd.pla
chat.pla
Command Line & System Environment
code/text EDitor
PLASM compiler
Trivial FTP Daemon
CATalog files
COPY files
REName files
DELete files
TYPE files
NEWDIR
ZIPCHIP
DHGR SPRite EDitor
DHGR RGB converter
System Library
Command Line Args
Console I/O
File I/O
Network I/O
Memory Manager
Fibers (Threads)
Long Jump
Double HiRes Graphics
HiRes Graphics
Double LoRes Graphics
LoRes Graphics
32 Bit Integers
SANE Floating Point
Joystick
GamePort SPI
GamePort Wiring
Music Sequencer
Hello World
Sieve
Rod's LoRes Colors
Double LoRes Test
HiRes Test
Double HiRes Test
ROGUE
RPN Calculator
HTTP Server
Chat Client
MockingBoard/Speaker Music
Installation Guide
Tutorial
Reference
Implementation
Porting Guide
Links
Deleting the wiki page "Network I O" cannot be undone. Continue?