What is Zsock? | ZSock is a work-in-progress TCP/IP stack
for the Cambridge z88 portable. The stack itself is written almost entirely
in C and was developed using z88dk
- the z88 Development Kit.
Zsock is supplied in the form of an application which
is also a package (A package is the z88 equivalent of shared libraries or
dlls) which permits you to be able to write network aware applications
with the minimum of hassle. Included within the ZSock archive is an example
user application and also a daemon allowing file transfer. |
The Features | Zsock has the following features:
The example application/daemon supplies:
|
History | I started the ZSock project back in June 1998 with a version
implementing ICMP,UDP,TCP and a simple telnet application in assembler.
However is soon became clear that a hand written assembler TCP stack is no
fun, and so a decision was made to write it in C. But where's the compiler? And
so started the story of z88dk
but we'll leave that for now. Zsock has been a long time in development
(most of it spent sat on my harddrive not doing much!) but since March 2000
it has been in a usable state, exporting an API for other applications. With
release 12 (Febuary 2001), the tftp daemon returns allowing automated file
transfer to and from the z88 from across a network. |
Download |
|
News | 8.6.2002 ZSock v2.31 is released. This contains a brand new ftp client to be run from the Z88 shell. The ZSock kernel itself can be made into a library on Linux and compiled into an application. This facilitates easy development and testing of ZSock compatible programs. 1.6.2002 ZSock v2.3 is released. 14.5.2002 It's been a long time, but it's not dead yet! I've been working on ZSock recently, cleaning up the code, reducing the footprint and removing the intertwining of Z80/Z88 machine code and C with the aim of making it cross platform and easily retargettable to other Z80 machines. The kernel code compiles (almost) cleanly under Linux, timer & checksum routines have been written and it can now ping itself. As soon as I find out how to make a SLIP connection without a loopback terminal connection I'll get TCP working. Doing it this way will allow development to progress more rapidly since I won't have to transfer files across to the Z88 everytime I make a change. 7.3.2001
|
Configuration | When run the z88 automatically assumes an IP number of 10.0.0.88
- this fits in very well with my LAN, however possibly not with yours,it
is possible to config ZSock to use a different IP number by use of the config
screen (Selectable from the menu.) From that screen you can also configure
nameservers and the default DNS search domain.
ZSock will also make use of the files :RAM.0/hostname
(first line hostname, second line IP address) and :RAM.0/resolv.cfg (first
line domain, second/third line nameserver) to save your fingers. % setenv TERM vt52 |
Links |
|
Last update: 8/6/2002 Contact: Dominic Morris |