%!PS-Adobe-1.0 %%Creator: devps (Pipeline Associates, Inc.) %%CreationDate: Fri Sep 13 14:24:02 1996 %%Pages: (atend) %%DocumentFonts: (atend) /devps 180 dict def devps begin /res 10.000000 def /y_offset 843 def /X{exch}bind def /mm {transform round X round X itransform} bind def /r{rmoveto}bind def /m{moveto}bind def /l{lineto}bind def /rl{rlineto}bind def /st{stroke}bind def /gs{gsave}bind def /gr{grestore}bind def /cp{currentpoint}bind def /np{newpath}bind def /ct{curveto}bind def systemdict /setpacking known { /savepacking currentpacking def true setpacking } if /m0{0 0 moveto}bind def /xc{//res div}bind def /yc{//res neg div //y_offset add}bind def /lc{yc X xc X l st}bind def /mc{yc X xc X m}bind def /el{gs /a X def a div 1 X scale cp np a xc 2 div 0 360 arc st gr}bind def /ar{cp 7 2 roll np xc 5 1 roll atan 3 1 roll atan X arc st}bind def /sp{yc X xc X 6 2 roll yc X xc X 6 2 roll yc X xc X 6 2 roll ct}bind def /V{//res neg div //y_offset add currentpoint pop X m}bind def /H{//res div 0 transform X round X itransform pop currentpoint X pop moveto}bind def /h{//res div 0 r}bind def /v{//res neg div 0 X r}bind def /S{X H show}bind def /A{H //res div 1 index stringwidth pop sub 1 index length div 0 3 2 roll ashow}bind def /psize 10 def /height 0 def /cheight { height 0 ne { height } { psize } ifelse } bind def /slant 0 def /FF{findfont X dup 30 div 0 mm pop setlinewidth /psize X def [psize 0 cheight slant sin slant cos div mul cheight 0 0] makefont setfont}bind def /shade{gs /dy X def /dx X def np m 0 /dy rl /dx 0 rl 0 /dy neg rl /dx neg 0 rl closepath .9 setgray fill gr}bind def 1 setlinecap /resolution res 72 mul def /startFig { /SavedState save def userdict maxlength dict begin currentpoint transform DocumentInitState setmiterlimit setgray setdash setlinejoin setlinecap setlinewidth setmatrix itransform moveto /ury exch def /urx exch def /lly exch def /llx exch def /y exch 72 mul resolution div def /x exch 72 mul resolution div def currentpoint /cy exch def /cx exch def /sx x urx llx sub div def /sy y ury lly sub div def sx sy scale cx sx div llx sub cy sy div ury sub translate /DefFigCTM matrix currentmatrix def /initmatrix { DefFigCTM setmatrix } def /defaultmatrix { DefFigCTM exch copy } def /initgraphics { DocumentInitState setmiterlimit setgray setdash setlinejoin setlinecap setlinewidth setmatrix DefFigCTM setmatrix } def /showpage { initgraphics } def }bind def /clipFig { currentpoint 6 2 roll newpath 4 copy 4 2 roll moveto 6 -1 roll exch lineto exch lineto exch lineto closepath clip newpath moveto }bind def /doclip { llx lly urx ury clipFig } def /endFig { end SavedState restore }bind def /globalstart { fontnum psize slant height resolution currentpoint pagesave restore gsave }bind def /globalend { grestore moveto /resolution exch def /height exch def /slant exch def /psize exch def /fontnum exch def F /pagesave save def }bind def /fontnum 1 def systemdict /setpacking known { savepacking setpacking} if end /BP{ save mark devps begin m0 /DocumentInitState [ matrix currentmatrix currentlinewidth currentlinecap currentlinejoin currentdash currentgray currentmiterlimit ] cvx def }bind def /EP{ end cleartomark restore showpage}def /Encoding-1 256 array def 0 1 255 {Encoding-1 exch /.notdef put} for Encoding-1 8#301 StandardEncoding 8#101 26 getinterval putinterval %A-B Encoding-1 8#341 StandardEncoding 8#141 26 getinterval putinterval %a-b Encoding-1 8#241 StandardEncoding 8#301 16 getinterval putinterval %accents Encoding-1 8#373 StandardEncoding 8#365 1 getinterval putinterval %dotlessi Encoding-1 dup 8#41 /copyright put dup 8#42 /registered put dup 8#43 /trademark put dup 8#44 /logicalnot put dup 8#45 /Eth put dup 8#46 /eth put dup 8#47 /Thorn put dup 8#50 /thorn put dup 8#51 /brokenbar put dup 8#52 /degree put dup 8#53 /divide put dup 8#54 /multiply put dup 8#55 /minus put dup 8#56 /onehalf put dup 8#57 /onequarter put dup 8#60 /threequarters put dup 8#101 /Aacute put dup 8#102 /Acircumflex put dup 8#103 /Adieresis put dup 8#104 /Agrave put dup 8#105 /Aring put dup 8#106 /Atilde put dup 8#107 /Ccedilla put dup 8#110 /Eacute put dup 8#111 /Ecircumflex put dup 8#112 /Edieresis put dup 8#113 /Egrave put dup 8#114 /Iacute put dup 8#115 /Icircumflex put dup 8#116 /Idieresis put dup 8#117 /Igrave put dup 8#120 /Ntilde put dup 8#121 /Oacute put dup 8#122 /Ocircumflex put dup 8#123 /Odieresis put dup 8#124 /Ograve put dup 8#125 /Otilde put dup 8#126 /Scaron put dup 8#127 /Uacute put dup 8#130 /Ucircumflex put dup 8#131 /Udieresis put dup 8#132 /Ugrave put dup 8#133 /Ydieresis put dup 8#134 /Zcaron put dup 8#135 /aacute put dup 8#136 /acircumflex put dup 8#137 /adieresis put dup 8#140 /agrave put dup 8#141 /aring put dup 8#142 /atilde put dup 8#143 /ccedilla put dup 8#144 /eacute put dup 8#145 /ecircumflex put dup 8#146 /edieresis put dup 8#147 /egrave put dup 8#150 /iacute put dup 8#151 /icircumflex put dup 8#152 /idieresis put dup 8#153 /igrave put dup 8#154 /ntilde put dup 8#155 /oacute put dup 8#156 /ocircumflex put dup 8#157 /odieresis put dup 8#160 /ograve put dup 8#161 /otilde put dup 8#162 /scaron put dup 8#163 /uacute put dup 8#164 /ucircumflex put dup 8#165 /udieresis put dup 8#166 /ugrave put dup 8#167 /ydieresis put dup 8#170 /zcaron put pop /Enc-dict 30 dict def Enc-dict /tmpstr1 50 string put Enc-dict /tmpstr2 50 string put Enc-dict /tmpstr3 50 string dup (Encoding-) exch cvs pop put /AEnc-def { % arguments: the original font's name, encoding nr Enc-dict begin tmpstr2 cvs /Enc-no exch def % Remember the number in a string dup /OrigName exch def % remember the name findfont dup maxlength dict /newdict exch def % get dictionary for new font { exch dup /FID ne { exch newdict 3 1 roll put } { pop pop } % Ignore FID ifelse } forall newdict begin /Encoding tmpstr3 9 Enc-no putinterval tmpstr3 0 9 Enc-no length add getinterval cvn load def % Replace encoding currentdict /UniqueID known { /UniqueID UniqueID Enc-no cvi 49999 mul add def } if % Derive New UniqueID end % newdict /FNlength OrigName tmpstr1 cvs length def % convert name, remember length FNlength 1 add Enc-no length add string dup 0 OrigName tmpstr1 cvs putinterval dup FNlength (-) putinterval dup FNlength 1 add Enc-no putinterval dup 0 tmpstr1 0 FNlength getinterval putinterval % Add old name cvn dup newdict /FontName 3 2 roll put newdict definefont end % Enc-dict } def /Times-Roman 1 AEnc-def pop /R-1{/Times-Roman-1 FF}def /R{/Times-Roman FF}def /B{/Times-Bold FF}def /I{/Times-Italic FF}def %%EndProlog %%Page: 1 1 BP /slant 0 def /height 0 def 480 V 10 R 720(SET_NET_DEFAULT)S 1666(\()S 1708(8)S 1766(\))S 2696(Eighth)S (Edition)296 2989 A 4181(SET_NET_DEFAULT)S 5127(\()S 5169(8)S 5227(\))S 960 V 9 R 720(N)S 722(NA)S 790(AM)S 858(ME)S 940(E)S 1080 V 10 R (s_n_d,)264 1080 A 1369(set_net_default)S 10 R-1 2009(-)S 10 R 2091(select)S 2346(the)S 2494(default)S 2799(TCP/IP)S 3127(network)S 1248 V 9 R 720(S)S 722(SY)S 774(YN)S 842(NO)S 910(OP)S 978(PS)S 1030(SI)S 1082(IS)S 1115(S)S 1368 V 10 B 1080(set_net_default:)S 1808(not)S (found)252 1986 A 1536 V 9 R 720(D)S 722(DE)S 790(ES)S 848(SC)S 900(CR)S 962(RI)S 1024(IP)S 1057(PT)S 1109(TI)S 1167(IO)S 1200(ON)S 1268(N)S 1656 V 10 R 1080(This)S 1290(manual)S 1617(page)S 1838(is)S 1936(here)S (because)319 2141 A 2491(so)S 2611(many)S 2865(others)S 3142(refer)S 3365(to)S 3474(it.)S 3612(The)S 10 B 3801(set_net_default)S 10 R 4489(command)S 4917(does)S 5133(not)S 1776 V 1080(exist)S (under)229 1305 A 1569(standard)S 1945(Minix,)S (because)319 2250 A 2604(the)S 2762(TCP/IP)S 3100(server)S 3381(only)S (supports)340 3593 A 3967(one)S 4146(network.)S 4560(The)S 4751(server)S (under)229 5032 A 1896 V 1080(Minix-vmd)S (supports)340 1562 A 1927(four)S 2120(different)S 2493(networks,)S 2912(that)S 3088(can)S (each)185 3253 A 3463(be)S 3583(chosen)S 3887(as)S 3996(the)S 4144(default)S 4449(network.)S 2064 V 1080(The)S 1270(TCP/IP)S 1606(library)S 1908(and)S 2087(commands)S 2556(do)S 2690(have)S 2914(a)S 2993(notion)S (about)223 3283 A 3540(a)S 3619("default)S 3974(network")S 4379(however,)S (because)319 4785 A 5138(the)S 2184 V 1080(code)S 1300(is)S 1397(shared)S 1690(between)S 2056(the)S 2209(Minix)S 2484(versions.)S 2899(So)S 3035(if)S (you)150 3126 A 3305(want)S 3530(to)S 3637(venture)S 3968(into)S 4153(network)S 4512(programming)S 5088(then)S 2304 V (you)150 1080 A (should)267 1257 A (know)223 1551 A (about)223 1801 A 2051(the)S 2201(devices)S 2530(and)S 2702(environment)S 3238(variables)S 3630(mentioned)S 4082(below)S 4356(to)S 4462(make)S (your)184 4708 A 4920(program)S 2424 V 1080(compatible.)S 1602(\(Especially)S 2081(since)S 2313(there)S 2540(is)S 2632(a)S 2702(plan)S 2900(to)S (upgrade)324 3003 A 3352(the)S 3500(TCP/IP)S 3828(server)S 4100(for)S 4243(standard)S 4609(Minix.\))S 2592 V 870(O)S 872(Op)S 947(pt)S 999(ti)S 1029(io)S 1059(on)S 1111(ns)S 1163(s)S 1229(a)S 1231(an)S 1278(nd)S 1330(d)S 1407(e)S 1409(en)S 1456(nv)S 1508(vi)S 1560(ir)S 1590(ro)S 1626(on)S 1678(nm)S 1730(me)S 1810(en)S 1857(nt)S 1909(t)S 1964(t)S 1966(to)S 1996(o)S 2073(c)S 2075(ch)S 2122(ha)S 2174(an)S 2221(ng)S 2273(ge)S 2325(e)S 2397(t)S 2399(th)S 2429(he)S 2481(e)S 2553(d)S 2555(de)S 2607(ef)S 2654(fa)S 2690(au)S 2737(ul)S 2789(lt)S 2819(t)S 2712 V 1080(Many)S 1357(TCP/IP)S 1703(programs)S 2126(implement)S 2599(the)S 2765(following)S 3199(options)S 3538(and)S 3727(environment)S 4279(variables)S 4687(to)S 4809(change)S 5138(the)S 2832 V 1080(default)S 1403(devices)S 1748(set)S 1903(by)S 10 B 2046(set_net_default)S 10 R 2702(.)S 2795(The)S 2995(options)S 3333(are)S 3500(only)S 3721(implemented)S 4289(for)S 4450(low)S 4643(level)S 4881(programs)S 2952 V 1080(where)S 1355(it)S 1439(makes)S 1724(sense)S 1971(to)S 2078(name)S 2325(a)S 2399(network)S 2758(device.)S 3100(The)S 3286(environment)S 3823(variables)S 4216(are)S 4369(used)S 4582(in)S 4689(all)S 4819(code.)S 5088(You)S 3072 V 1080(can)S 1247(run)S 1408(a)S 1480(process)S 1808(and)S 1979(all)S 2106(its)S 2227(children)S (connected)408 2583 A 3017(to)S 3121(a)S 3192(different)S 3566(network)S 3922(by)S (setting)268 4048 A 4342(four)S 4536(environment)S 5070(vari-)S 3192 V 1080(ables.)S 3360 V 10 B 1080(ETH_DEVICE=)S 10 I 1791(device)S 3480 V 10 B 1080(-E)S 10 I 1206(device)S 3600 V 10 R 1440(Device)S 1751(to)S 1854(use)S 2013(as)S 2122(raw)S 2299(ethernet)S 2649(device)S 2937(instead)S 3247(of)S 3356(the)S 3504(default)S 3809(/dev/eth.)S 3768 V 10 B 1080(PSIP_DEVICE=)S 10 I 1798(device)S 3888 V 10 B 1080(-P)S 10 I 1201(device)S 4008 V 10 R (Pseudo)290 1440 A 1755(IP)S 1870(device)S 2158(to)S 2261(use)S 2420(instead)S 2730(of)S 2839(/dev/psip.)S 4176 V 10 B 1080(IP_DEVICE=)S 10 I 1680(device)S 4296 V 10 B 1080(-I)S 10 I 1178(device)S 4416 V 10 R 1440(IP)S 1555(device)S 1843(to)S 1946(use)S 2105(instead)S 2415(of)S 2524(/dev/ip.)S 4584 V 10 B 1080(TCP_DEVICE=)S 10 I 1781(device)S 4704 V 10 B 1080(-T)S 10 I 1206(device)S 4824 V 10 R 1440(TCP)S 1650(device)S 1938(to)S 2041(use.)S 4992 V 10 B 1080(UDP_DEVICE=)S 10 I 1787(device)S 5112 V 10 B 1080(-U)S 10 I 1212(device)S 5232 V 10 R 1440(UDP)S 1667(device)S 1955(to)S 2058(use.)S 5400 V 9 R 720(F)S 722(FI)S 774(IL)S 807(LE)S 865(ES)S 923(S)S 5520 V 10 R 1080(/dev/eth[01])S 1980(First)S 2190(and)S (second)279 2360 A 2664(raw)S 2841(ethernet.)S 5688 V 1080(/dev/psip[01])S 1980(First)S 2190(and)S (second)279 2360 A (Pseudo)290 2664 A 2979(IP)S 3094(network.)S 5856 V (/dev/ip[0123])547 1080 A 1980(IP)S 2095(devices)S 2422(for)S 2565(two)S 2741(ethernets)S 3130(and)S 3300(two)S (Pseudo)290 3476 A 3791(IP)S 3906(networks.)S 6024 V (/dev/tcp[0123])592 1080 A 1980(TCP)S 2190(devices)S 2517(for)S 2660(same)S 2892(four)S 3085(networks.)S 6192 V (/dev/udp[0123])619 1080 A 1980(UDP)S 2207(devices.)S 6360 V 1080(/dev/eth,)S 1454(/dev/psip,)S 1872(/dev/ip,)S 2201(/dev/tcp,)S (/dev/udp)351 2575 A 6480 V 1980(Devices)S 2335(for)S 2483(the)S 2636(default)S 2946(network,)S 3332(links)S 3558(to)S 3667(the)S 3821(devices)S (above.)265 4154 A 10 B 4475(Eth)S 10 R 4663(is)S 4761(only)S 4970(present)S 6600 V 1980(if)S 2067(ethernet)S 2417(is)S 2509(the)S 2657(default,)S 10 B 2987(psip)S 10 R 3191(only)S 3394(for)S (pseudo)284 3537 A 3846(IP.)S 6768 V 9 R 720(S)S 722(SE)S 774(EE)S 832(E)S 913(A)S 915(AL)S 983(LS)S 1041(SO)S 1093(O)S 6888 V 10 B 1080(ip)S 10 R 1164(\(4\),)S 10 B 1332(boot)S 10 R 1522(\(8\).)S 7056 V 9 R 720(A)S 722(AU)S 790(UT)S 858(TH)S 916(HO)S 984(OR)S 1052(R)S 7176 V 10 R 1080(Kees)S 1307(J.)S 1396(Bot)S 1566(\(kjb@cs.vu.nl\))S 7903 V 720(Page)S 941(1)S 4455(September)S 4911(13,)S (1996)200 5061 A 8143 V EP %%Trailer %%DocumentFonts: Times-Roman Times-Bold Times-Italic %%Pages: 1