
|
84782 packages online
|
|
 |
|
dev/e/AmiTCP_beta.lha |
|
No screenshot available
|
|
AmiTCP modules for Amiga E
==========================
This is pretty much a beta release of these modules, since I've had no
bug reports on the last version (which was some time ago). I'm still
in the rather poor position of not actually running AmiTCP myself, so
I am reliant on those who are...
The sources are included but, as ever, they are just for reference.
In particular, you shouldn't try compiling the sources as some of the
modules have had to be fiddled with to get unions etc. (and this will
affect not just the module with the fiddle in it, but all those that
use it).
The big difference over the last version is that one of the bitfield
operations has been corrected (Wouter's documentation mislead me, but
there's no real excuse for me not testing that bit!), and there is now
some initialisation code. This was present in the net.lib link
library of the SAS/C version, so I guess it might be pretty important.
The rest of net.lib has not yet been ported to E (unless someone knows
different...). I may start working on it but, again, I'm hardly the
best person to do this, not having AmiTCP running on my Amiga!
To use the initialisation do something like this:
MODULE 'amitcp/init/amitcp_init'
PROC main() HANDLE
-> AmiTCP: initialise everything
amitcp_init()
-> Your code
EXCEPT DO
-> Your cleanup code
-> AmiTCP: cleanup everything
amitcp_cleanup()
ENDPROC
The initialisation code opens the 'bsdsocket' and 'usergroup'
libraries, initialises I/O variables and opens a timer. It also sets
up various other arrays. If you want your can just use the bits you
need from the 'amitcp/init' directory. It should be fairly
self-explanatory.
Anyway, the key thing is this: if you use one of the init routines
(e.g., amitcp_init() for the whole lot), then you must make sure you
match it with the corresponding cleanup call (amitcp_cleanup() for
amitcp_init()). I'd advise that you use the exception handling method
shown above. Also, your program should *NEVER* use E's CleanUp()
function, as this terminates your program immediately and gives it no
chance to perform its own cleanup.
Have fun!
Jason (jason@fsel.com)
|
Contents of dev/e/AmiTCP_beta.lha
PERMSSN UID GID PACKED SIZE RATIO CRC STAMP NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
-rw-r--r-- 748/102 1113 2184 51.0% -lh5- 3a43 Aug 13 1996 AmiTCP.beta.readme
[generic] 462 1220 37.9% -lh5- c272 Aug 11 1996 Modules/AmiTCP/amitcp/socketbasetags.m
[generic] 303 558 54.3% -lh5- 2caf Aug 11 1996 Modules/AmiTCP/amitcp/types.m
[generic] 597 1136 52.6% -lh5- f857 Aug 11 1996 Modules/AmiTCP/arpa/ftp.m
[generic] 1398 4512 31.0% -lh5- 2323 Aug 11 1996 Modules/AmiTCP/arpa/nameser.m
[generic] 2697 6078 44.4% -lh5- ffe2 Aug 11 1996 Modules/AmiTCP/arpa/telnet.m
[generic] 188 320 58.8% -lh5- 9d77 Aug 11 1996 Modules/AmiTCP/arpa/tftp.m
[generic] 405 626 64.7% -lh5- a2c1 Aug 11 1996 Modules/AmiTCP/charread.m
[generic] 227 396 57.3% -lh5- 1072 Aug 11 1996 Modules/AmiTCP/clib/socket_inlines.m
[generic] 415 774 53.6% -lh5- efd1 Aug 11 1996 Modules/AmiTCP/devices/netinfo.m
[generic] 1271 2912 43.6% -lh5- 1d4c Aug 11 1996 Modules/AmiTCP/devices/sana2.m
[generic] 89 136 65.4% -lh5- 58b7 Aug 11 1996 Modules/AmiTCP/devices/sana2specialstats.m
[generic] 43 54 79.6% -lh5- 9e00 Aug 11 1996 Modules/AmiTCP/errno.m
[generic] 343 716 47.9% -lh5- 2bdb Aug 11 1996 Modules/AmiTCP/fcntl.m
[generic] 82 108 75.9% -lh5- 313c Aug 11 1996 Modules/AmiTCP/grp.m
[generic] 289 476 60.7% -lh5- de87 Aug 11 1996 Modules/AmiTCP/inetd.m
[generic] 328 854 38.4% -lh5- fed1 Aug 11 1996 Modules/AmiTCP/init/amitcp_init.m
[generic] 610 1066 57.2% -lh5- 705a Aug 11 1996 Modules/AmiTCP/init/autoinit.m
[generic] 293 384 76.3% -lh5- bdf0 Aug 11 1996 Modules/AmiTCP/init/dosio_init.m
[generic] 625 1000 62.5% -lh5- 25d5 Aug 11 1996 Modules/AmiTCP/init/init_usergroup.m
[generic] 929 1490 62.3% -lh5- 37eb Aug 11 1996 Modules/AmiTCP/init/timerinit.m
[generic] 44 54 81.5% -lh5- 5927 Aug 11 1996 Modules/AmiTCP/ios1.m
[generic] 372 700 53.1% -lh5- 15d1 Aug 11 1996 Modules/AmiTCP/libraries/usergroup.m
[generic] 227 384 59.1% -lh5- 5c0b Aug 11 1996 Modules/AmiTCP/lineread.m
[generic] 336 662 50.8% -lh5- 2c67 Aug 11 1996 Modules/AmiTCP/net/if.m
[generic] 302 560 53.9% -lh5- 00f5 Aug 11 1996 Modules/AmiTCP/net/if_arp.m
[generic] 198 298 66.4% -lh5- 41b1 Aug 11 1996 Modules/AmiTCP/net/if_dl.m
[generic] 144 252 57.1% -lh5- d84d Aug 11 1996 Modules/AmiTCP/net/if_types.m
[generic] 775 1544 50.2% -lh5- f478 Aug 11 1996 Modules/AmiTCP/net/route.m
[generic] 115 230 50.0% -lh5- b032 Aug 11 1996 Modules/AmiTCP/net/sana2tags.m
[generic] 320 658 48.6% -lh5- df77 Aug 11 1996 Modules/AmiTCP/netdb.m
[generic] 578 1430 40.4% -lh5- f0ac Aug 11 1996 Modules/AmiTCP/netinet/in.m
[generic] 46 56 82.1% -lh5- b84b Aug 11 1996 Modules/AmiTCP/netinet/in_systm.m
[generic] 1049 2786 37.7% -lh5- 55a2 Aug 11 1996 Modules/AmiTCP/netinet/ip.m
[generic] 620 1400 44.3% -lh5- df7e Aug 11 1996 Modules/AmiTCP/netinet/ip_icmp.m
[generic] 666 1688 39.5% -lh5- 95d8 Aug 11 1996 Modules/AmiTCP/netinet/ip_var.m
[generic] 488 1112 43.9% -lh5- 8c10 Aug 11 1996 Modules/AmiTCP/netinet/tcp.m
[generic] 74 110 67.3% -lh5- 943e Aug 11 1996 Modules/AmiTCP/netinet/udp.m
[generic] 403 666 60.5% -lh5- be9a Aug 11 1996 Modules/AmiTCP/protocols/dumprestore.m
[generic] 448 762 58.8% -lh5- 192a Aug 11 1996 Modules/AmiTCP/protocols/routed.m
[generic] 247 418 59.1% -lh5- 41b2 Aug 11 1996 Modules/AmiTCP/protocols/rwhod.m
[generic] 348 690 50.4% -lh5- 232d Aug 11 1996 Modules/AmiTCP/protocols/talkd.m
[generic] 703 1442 48.8% -lh5- 9a0e Aug 11 1996 Modules/AmiTCP/protocols/timed.m
[generic] 103 150 68.7% -lh5- 177d Aug 11 1996 Modules/AmiTCP/pwd.m
[generic] 588 1342 43.8% -lh5- 669a Aug 11 1996 Modules/AmiTCP/rpc/auth.m
[generic] 175 256 68.4% -lh5- 76de Aug 11 1996 Modules/AmiTCP/rpc/auth_unix.m
[generic] 862 1908 45.2% -lh5- 1a9d Aug 11 1996 Modules/AmiTCP/rpc/clnt.m
[generic] 209 410 51.0% -lh5- d138 Aug 11 1996 Modules/AmiTCP/rpc/pmap_prot.m
[generic] 144 262 55.0% -lh5- 7694 Aug 11 1996 Modules/AmiTCP/rpc/pmap_rmt.m
[generic] 75 102 73.5% -lh5- fbcf Aug 11 1996 Modules/AmiTCP/rpc/rpc.m
[generic] 411 864 47.6% -lh5- 174e Aug 11 1996 Modules/AmiTCP/rpc/rpc_msg.m
[generic] 582 1320 44.1% -lh5- 952d Aug 11 1996 Modules/AmiTCP/rpc/svc.m
[generic] 69 82 84.1% -lh5- f4ed Aug 11 1996 Modules/AmiTCP/rpc/types.m
[generic] 725 2126 34.1% -lh5- b0b9 Aug 11 1996 Modules/AmiTCP/rpc/xdr.m
[generic] 383 842 45.5% -lh5- 02e8 Aug 11 1996 Modules/AmiTCP/rpcsvc/bootparam_prot.m
[generic] 1240 3432 36.1% -lh5- 67fa Aug 11 1996 Modules/AmiTCP/rpcsvc/nfs_prot.m
[generic] 713 2092 34.1% -lh5- b7cf Aug 11 1996 Modules/AmiTCP/rpcsvc/nlm_prot.m
[generic] 894 1934 46.2% -lh5- b981 Aug 11 1996 Modules/AmiTCP/rpcsvc/rex.m
[generic] 223 472 47.2% -lh5- 17a4 Aug 11 1996 Modules/AmiTCP/rpcsvc/rnusers.m
[generic] 291 532 54.7% -lh5- a7ca Aug 11 1996 Modules/AmiTCP/rpcsvc/rquota.m
[generic] 370 1154 32.1% -lh5- 1e65 Aug 11 1996 Modules/AmiTCP/rpcsvc/rstat.m
[generic] 289 628 46.0% -lh5- 6481 Aug 11 1996 Modules/AmiTCP/rpcsvc/sm_inter.m
[generic] 195 336 58.0% -lh5- a2ff Aug 11 1996 Modules/AmiTCP/rpcsvc/spray.m
[generic] 1028 2874 35.8% -lh5- f7f4 Aug 11 1996 Modules/AmiTCP/rpcsvc/yp.m
[generic] 182 292 62.3% -lh5- 9d6b Aug 11 1996 Modules/AmiTCP/rpcsvc/yppasswd.m
[generic] 844 2092 40.3% -lh5- bb1e Aug 11 1996 Modules/AmiTCP/stdio.m
[generic] 624 1278 48.8% -lh5- 0738 Aug 11 1996 Modules/AmiTCP/sys/errno.m
[generic] 542 1116 48.6% -lh5- 0cb1 Aug 11 1996 Modules/AmiTCP/sys/ioctl.m
[generic] 414 930 44.5% -lh5- db6f Aug 11 1996 Modules/AmiTCP/sys/param.m
[generic] 1093 2454 44.5% -lh5- 0b84 Aug 11 1996 Modules/AmiTCP/sys/socket.m
[generic] 422 986 42.8% -lh5- 6281 Aug 11 1996 Modules/AmiTCP/sys/stat.m
[generic] 1179 2540 46.4% -lh5- b6f3 Aug 11 1996 Modules/AmiTCP/sys/syslog.m
[generic] 291 604 48.2% -lh5- d9bd Aug 11 1996 Modules/AmiTCP/sys/time.m
[generic] 413 906 45.6% -lh5- b359 Aug 11 1996 Modules/AmiTCP/sys/types.m
[generic] 67 88 76.1% -lh5- 09e7 Aug 11 1996 Modules/AmiTCP/utime.m
[generic] 203 402 50.5% -lh5- f1d8 Aug 11 1996 Modules/AmiTCP/utmp.m
[generic] 200 344 58.1% -lh5- 5f8d Aug 12 1996 Modules/Other/bitfield.m
[generic] 170 228 74.6% -lh5- d1fb Aug 12 1996 Modules/Other/setprogname.m
[generic] 436 1303 33.5% -lh5- c53c Mar 18 1996 Src/AmiTCP/amitcp/socketbasetags.e
[generic] 122 190 64.2% -lh5- 8b9b Mar 18 1996 Src/AmiTCP/amitcp/types.e
[generic] 422 877 48.1% -lh5- 2ea3 Aug 11 1996 Src/AmiTCP/arpa/ftp.e
[generic] 0 0 ****** -lh0- 0000 Mar 7 1996 Src/AmiTCP/arpa/inet.e
[generic] 947 3394 27.9% -lh5- e79e Mar 24 1996 Src/AmiTCP/arpa/nameser.e
[generic] 1645 4661 35.3% -lh5- 9c8d Aug 11 1996 Src/AmiTCP/arpa/telnet.e
[generic] 213 289 73.7% -lh5- f01e Mar 9 1996 Src/AmiTCP/arpa/tftp.e
[generic] 0 0 ****** -lh0- 0000 Mar 6 1996 Src/AmiTCP/bsdsocket.e
[generic] 350 713 49.1% -lh5- d43c Mar 24 1996 Src/AmiTCP/charread.e
[generic] 222 471 47.1% -lh5- e74f Mar 24 1996 Src/AmiTCP/clib/socket_inlines.e
[generic] 398 832 47.8% -lh5- e4ac Mar 24 1996 Src/AmiTCP/devices/netinfo.e
[generic] 1120 3016 37.1% -lh5- a36c Mar 10 1996 Src/AmiTCP/devices/sana2.e
[generic] 85 126 67.5% -lh5- d4f6 Mar 10 1996 Src/AmiTCP/devices/sana2specialstats.e
[generic] 41 41 100.0% -lh0- 5ab9 Mar 24 1996 Src/AmiTCP/errno.e
[generic] 283 665 42.6% -lh5- d67a Aug 11 1996 Src/AmiTCP/fcntl.e
[generic] 120 158 75.9% -lh5- 256e Mar 17 1996 Src/AmiTCP/grp.e
[generic] 307 557 55.1% -lh5- 1a28 Mar 24 1996 Src/AmiTCP/inetd.e
[generic] 226 596 37.9% -lh5- 2ec9 Aug 11 1996 Src/AmiTCP/init/amitcp_init.e
[generic] 490 1063 46.1% -lh5- 00f9 Aug 11 1996 Src/AmiTCP/init/autoinit.e
[generic] 267 436 61.2% -lh5- 18b2 Aug 11 1996 Src/AmiTCP/init/dosio_init.e
[generic] 609 1300 46.8% -lh5- 429f Aug 11 1996 Src/AmiTCP/init/init_usergroup.e
[generic] 849 2078 40.9% -lh5- bcb7 Aug 11 1996 Src/AmiTCP/init/timerinit.e
[generic] 43 43 100.0% -lh0- f421 Mar 6 1996 Src/AmiTCP/ios1.e
[generic] 419 914 45.8% -lh5- af07 Mar 24 1996 Src/AmiTCP/libraries/usergroup.e
[generic] 288 530 54.3% -lh5- 3220 Mar 17 1996 Src/AmiTCP/lineread.e
[generic] 373 758 49.2% -lh5- 3922 Mar 24 1996 Src/AmiTCP/net/if.e
[generic] 277 510 54.3% -lh5- 025d Mar 11 1996 Src/AmiTCP/net/if_arp.e
[generic] 209 310 67.4% -lh5- 3f70 Mar 17 1996 Src/AmiTCP/net/if_dl.e
[generic] 133 284 46.8% -lh5- 9f42 Mar 11 1996 Src/AmiTCP/net/if_types.e
[generic] 666 1303 51.1% -lh5- cf2d Mar 24 1996 Src/AmiTCP/net/route.e
[generic] 0 0 ****** -lh0- 0000 Mar 11 1996 Src/AmiTCP/net/sana2errno.e
[generic] 117 249 47.0% -lh5- 2534 Mar 11 1996 Src/AmiTCP/net/sana2tags.e
[generic] 289 677 42.7% -lh5- ddcb Mar 6 1996 Src/AmiTCP/netdb.e
[generic] 558 1589 35.1% -lh5- 69c5 Mar 24 1996 Src/AmiTCP/netinet/in.e
[generic] 55 55 100.0% -lh0- c0d5 Mar 17 1996 Src/AmiTCP/netinet/in_systm.e
[generic] 856 2371 36.1% -lh5- c9a6 Mar 17 1996 Src/AmiTCP/netinet/ip.e
[generic] 582 1459 39.9% -lh5- b1e9 Mar 24 1996 Src/AmiTCP/netinet/ip_icmp.e
[generic] 487 1209 40.3% -lh5- f646 Mar 24 1996 Src/AmiTCP/netinet/ip_var.e
[generic] 350 732 47.8% -lh5- 9c71 Mar 24 1996 Src/AmiTCP/netinet/tcp.e
[generic] 73 92 79.3% -lh5- 6726 Mar 12 1996 Src/AmiTCP/netinet/udp.e
[generic] 483 857 56.4% -lh5- 96c9 Mar 24 1996 Src/AmiTCP/protocols/dumprestore.e
[generic] 412 708 58.2% -lh5- 53a0 Aug 11 1996 Src/AmiTCP/protocols/routed.e
[generic] 240 390 61.5% -lh5- f365 Mar 13 1996 Src/AmiTCP/protocols/rwhod.e
[generic] 332 629 52.8% -lh5- 22f1 Mar 13 1996 Src/AmiTCP/protocols/talkd.e
[generic] 489 1060 46.1% -lh5- 5001 Aug 11 1996 Src/AmiTCP/protocols/timed.e
[generic] 129 211 61.1% -lh5- 04c5 Mar 17 1996 Src/AmiTCP/pwd.e
[generic] 542 1366 39.7% -lh5- 0a25 Mar 24 1996 Src/AmiTCP/rpc/auth.e
[generic] 207 304 68.1% -lh5- 011c Mar 17 1996 Src/AmiTCP/rpc/auth_unix.e
[generic] 740 1949 38.0% -lh5- 0692 Mar 17 1996 Src/AmiTCP/rpc/clnt.e
[generic] 0 0 ****** -lh0- 0000 Mar 14 1996 Src/AmiTCP/rpc/gst.e
[generic] 0 0 ****** -lh0- 0000 Mar 14 1996 Src/AmiTCP/rpc/pmap_clnt.e
[generic] 176 347 50.7% -lh5- d8e4 Mar 24 1996 Src/AmiTCP/rpc/pmap_prot.e
[generic] 172 294 58.5% -lh5- 0f9f Mar 24 1996 Src/AmiTCP/rpc/pmap_rmt.e
[generic] 84 97 86.6% -lh5- 36ef Mar 14 1996 Src/AmiTCP/rpc/rpc.e
[generic] 386 780 49.5% -lh5- d3ae Mar 17 1996 Src/AmiTCP/rpc/rpc_msg.e
[generic] 508 1441 35.3% -lh5- 9117 Mar 17 1996 Src/AmiTCP/rpc/svc.e
[generic] 0 0 ****** -lh0- 0000 Mar 14 1996 Src/AmiTCP/rpc/svc_auth.e
[generic] 74 80 92.5% -lh5- 0597 Mar 17 1996 Src/AmiTCP/rpc/types.e
[generic] 707 2447 28.9% -lh5- d035 Mar 24 1996 Src/AmiTCP/rpc/xdr.e
[generic] 352 869 40.5% -lh5- 1c13 Mar 24 1996 Src/AmiTCP/rpcsvc/bootparam_prot.e
[generic] 0 0 ****** -lh0- 0000 Mar 18 1996 Src/AmiTCP/rpcsvc/klm_prot.e
[generic] 0 0 ****** -lh0- 0000 Mar 18 1996 Src/AmiTCP/rpcsvc/mount.e
[generic] 982 3047 32.2% -lh5- d312 Mar 24 1996 Src/AmiTCP/rpcsvc/nfs_prot.e
[generic] 546 1668 32.7% -lh5- ae24 Mar 24 1996 Src/AmiTCP/rpcsvc/nlm_prot.e
[generic] 799 2075 38.5% -lh5- 2b82 Mar 18 1996 Src/AmiTCP/rpcsvc/rex.e
[generic] 214 452 47.3% -lh5- 97c7 Mar 18 1996 Src/AmiTCP/rpcsvc/rnusers.e
[generic] 256 446 57.4% -lh5- 498e Mar 18 1996 Src/AmiTCP/rpcsvc/rquota.e
[generic] 324 1068 30.3% -lh5- 7228 Mar 19 1996 Src/AmiTCP/rpcsvc/rstat.e
[generic] 259 574 45.1% -lh5- 9a94 Mar 24 1996 Src/AmiTCP/rpcsvc/sm_inter.e
[generic] 181 309 58.6% -lh5- 099d Mar 24 1996 Src/AmiTCP/rpcsvc/spray.e
[generic] 867 2847 30.5% -lh5- c698 Mar 24 1996 Src/AmiTCP/rpcsvc/yp.e
[generic] 167 310 53.9% -lh5- 72af Mar 24 1996 Src/AmiTCP/rpcsvc/yppasswd.e
[generic] 0 0 ****** -lh0- 0000 Mar 6 1996 Src/AmiTCP/stat.e
[generic] 762 1904 40.0% -lh5- 4c2b Aug 11 1996 Src/AmiTCP/stdio.e
[generic] 0 0 ****** -lh0- 0000 Mar 24 1996 Src/AmiTCP/sys/cdefs.e
[generic] 422 900 46.9% -lh5- be05 Mar 24 1996 Src/AmiTCP/sys/errno.e
[generic] 0 0 ****** -lh0- 0000 Mar 24 1996 Src/AmiTCP/sys/file.e
[generic] 569 1635 34.8% -lh5- 41a7 Mar 25 1996 Src/AmiTCP/sys/ioctl.e
[generic] 324 662 48.9% -lh5- d6a1 Mar 24 1996 Src/AmiTCP/sys/param.e
[generic] 892 2132 41.8% -lh5- 844f Mar 24 1996 Src/AmiTCP/sys/socket.e
[generic] 445 1165 38.2% -lh5- bf50 Mar 24 1996 Src/AmiTCP/sys/stat.e
[generic] 857 2969 28.9% -lh5- b46f Aug 11 1996 Src/AmiTCP/sys/syslog.e
[generic] 290 593 48.9% -lh5- 6e5a Mar 24 1996 Src/AmiTCP/sys/time.e
[generic] 359 859 41.8% -lh5- 5f66 Mar 24 1996 Src/AmiTCP/sys/types.e
[generic] 0 0 ****** -lh0- 0000 Mar 6 1996 Src/AmiTCP/syslog.e
[generic] 0 0 ****** -lh0- 0000 Mar 24 1996 Src/AmiTCP/unistd.e
[generic] 100 123 81.3% -lh5- 38b9 Mar 24 1996 Src/AmiTCP/utime.e
[generic] 239 491 48.7% -lh5- 528b Mar 17 1996 Src/AmiTCP/utmp.e
[generic] 185 388 47.7% -lh5- 1ee5 Aug 12 1996 Src/Other/bitfield.e
[generic] 207 315 65.7% -lh5- 135e Aug 12 1996 Src/Other/setprogname.e
---------- ----------- ------- ------- ------ ---------- ------------ -------------
Total 168 files 68629 158892 43.2% Oct 4 1996
|
|
|
 |
Page generated in 0.01 seconds |
Aminet © 1992-2024 Urban
Müller and the Aminet team.
Aminet contact address: <aminet aminet net> |