Hex Artifact Content
Not logged in

Artifact 0e2bff43d22fac1cd34a01ef57ced83d4dd88e24:

Ticket change [0e2bff43d2] - Ticket [812379bd1a] "fossil ui" network interface option status still Open with 2 other changes by anonymous 2010-02-10 20:11:36.
0000: 44 20 32 30 31 30 2d 30 32 2d 31 30 54 32 30 3a  D 2010-02-10T20:
0010: 31 31 3a 33 36 0a 4a 20 2b 63 6f 6d 6d 65 6e 74  11:36.J +comment
0020: 20 5c 6e 5c 6e 3c 68 72 3e 3c 69 3e 61 6e 6f 6e   \n\n<hr><i>anon
0030: 79 6d 6f 75 73 5c 73 61 64 64 65 64 5c 73 6f 6e  ymous\sadded\son
0040: 5c 73 32 30 31 30 2d 30 32 2d 31 30 5c 73 32 30  \s2010-02-10\s20
0050: 3a 31 31 3a 33 36 3a 3c 2f 69 3e 3c 62 72 3e 5c  :11:36:</i><br>\
0060: 6e 41 63 74 75 61 6c 6c 79 5c 73 71 75 69 74 65  nActually\squite
0070: 5c 73 73 69 6d 70 6c 65 5c 73 28 61 74 5c 73 6c  \ssimple\s(at\sl
0080: 65 61 73 74 5c 73 66 6f 72 5c 73 55 6e 69 78 29  east\sfor\sUnix)
0090: 2e 5c 73 49 27 6d 5c 73 6a 75 73 74 5c 73 66 69  .\sI'm\sjust\sfi
00a0: 64 64 6c 69 6e 67 5c 73 61 72 6f 75 6e 64 5c 73  ddling\saround\s
00b0: 77 69 74 68 5c 73 69 74 2e 5c 73 5c 73 53 6f 5c  with\sit.\s\sSo\
00c0: 73 66 61 72 5c 73 49 5c 73 61 64 64 65 64 5c 73  sfar\sI\sadded\s
00d0: 2d 49 50 5c 73 70 61 72 61 6d 65 74 65 72 5c 73  -IP\sparameter\s
00e0: 61 6e 64 5c 73 70 61 72 73 69 6e 67 5c 73 76 69  and\sparsing\svi
00f0: 61 5c 72 5c 6e 3c 62 72 3e 5c 72 5c 6e 3c 74 74  a\r\n<br>\r\n<tt
0100: 3e 5c 72 5c 6e 7a 49 50 5c 73 3d 5c 73 66 69 6e  >\r\nzIP\s=\sfin
0110: 64 5f 6f 70 74 69 6f 6e 28 22 49 50 22 2c 5c 73  d_option("IP",\s
0120: 30 2c 5c 73 31 29 3b 5c 72 5c 6e 3c 2f 74 74 3e  0,\s1);\r\n</tt>
0130: 5c 72 5c 6e 3c 62 72 3e 5c 72 5c 6e 61 6e 64 5c  \r\n<br>\r\nand\
0140: 73 63 68 61 6e 67 65 64 5c 73 63 61 6c 6c 5c 73  schanged\scall\s
0150: 74 6f 5c 72 5c 6e 3c 62 72 3e 5c 72 5c 6e 3c 74  to\r\n<br>\r\n<t
0160: 74 3e 5c 72 5c 6e 63 67 69 5f 68 74 74 70 5f 73  t>\r\ncgi_http_s
0170: 65 72 76 65 72 28 7a 49 50 2c 5c 73 69 50 6f 72  erver(zIP,\siPor
0180: 74 2c 5c 73 6d 78 50 6f 72 74 2c 5c 73 7a 42 72  t,\smxPort,\szBr
0190: 6f 77 73 65 72 43 6d 64 29 5c 72 5c 6e 3c 2f 74  owserCmd)\r\n</t
01a0: 74 3e 5c 72 5c 6e 3c 62 72 3e 5c 72 5c 6e 4e 65  t>\r\n<br>\r\nNe
01b0: 78 74 5c 73 73 74 65 70 2c 5c 73 63 68 61 6e 67  xt\sstep,\schang
01c0: 65 5c 73 3c 74 74 3e 49 4e 41 44 44 52 5f 41 4e  e\s<tt>INADDR_AN
01d0: 59 3c 2f 74 74 3e 5c 73 69 6e 5c 73 63 67 69 2e  Y</tt>\sin\scgi.
01e0: 63 5c 73 74 6f 5c 72 5c 6e 3c 62 72 3e 5c 72 5c  c\sto\r\n<br>\r\
01f0: 6e 3c 74 74 3e 69 6e 61 64 64 72 2e 73 69 6e 5f  n<tt>inaddr.sin_
0200: 61 64 64 72 2e 73 5f 61 64 64 72 5c 73 3d 5c 73  addr.s_addr\s=\s
0210: 69 6e 65 74 5f 61 64 64 72 28 7a 49 50 29 3b 3c  inet_addr(zIP);<
0220: 2f 74 74 3e 5c 72 5c 6e 3c 62 72 3e 5c 72 5c 6e  /tt>\r\n<br>\r\n
0230: 53 6f 5c 73 66 61 72 5c 73 73 6f 5c 73 67 6f 6f  So\sfar\sso\sgoo
0240: 64 2e 5c 73 42 75 74 5c 73 6e 6f 77 5c 73 69 74  d.\sBut\snow\sit
0250: 27 73 5c 73 61 62 6f 75 74 5c 73 64 65 61 6c 69  's\sabout\sdeali
0260: 6e 67 5c 73 77 69 74 68 5c 73 64 65 66 61 75 6c  ng\swith\sdefaul
0270: 74 73 5c 73 28 69 65 5c 73 6e 6f 5c 73 2d 49 50  ts\s(ie\sno\s-IP
0280: 5c 73 70 61 72 61 6d 65 74 65 72 29 2c 5c 73 64  \sparameter),\sd
0290: 65 61 6c 69 6e 67 5c 73 77 69 74 68 5c 73 22 6c  ealing\swith\s"l
02a0: 6f 63 61 6c 68 6f 73 74 22 5c 73 69 6e 73 74 65  ocalhost"\sinste
02b0: 61 64 5c 73 6f 66 5c 73 22 31 32 37 2e 30 2e 30  ad\sof\s"127.0.0
02c0: 2e 31 22 2c 5c 73 68 61 76 69 6e 67 5c 73 61 5c  .1",\shaving\sa\
02d0: 73 64 65 66 61 75 6c 74 5c 73 69 6e 5c 73 74 68  sdefault\sin\sth
02e0: 65 5c 73 67 6c 6f 62 61 6c 5c 73 66 6f 73 73 69  e\sglobal\sfossi
02f0: 6c 5c 73 64 62 2e 5c 73 54 68 61 74 27 73 5c 73  l\sdb.\sThat's\s
0300: 77 68 65 72 65 5c 73 49 5c 73 61 6d 5c 73 68 61  where\sI\sam\sha
0310: 76 69 6e 67 5c 73 74 72 6f 75 62 6c 65 73 5c 73  ving\stroubles\s
0320: 6e 6f 77 2e 5c 72 5c 6e 5c 72 5c 6e 41 6e 79 77  now.\r\n\r\nAnyw
0330: 61 79 2c 5c 73 73 70 65 63 69 66 79 69 6e 67 5c  ay,\sspecifying\
0340: 73 61 6e 5c 73 6c 69 73 74 65 6e 69 6e 67 5c 73  san\slistening\s
0350: 49 50 5c 73 61 64 64 72 65 73 73 5c 73 69 73 5c  IP\saddress\sis\
0360: 73 61 63 74 75 61 6c 6c 79 5c 73 70 69 65 63 65  sactually\spiece
0370: 5c 73 6f 66 5c 73 63 61 6b 65 5c 73 3a 2d 29 0a  \sof\scake\s:-).
0380: 4a 20 72 65 73 6f 6c 75 74 69 6f 6e 20 4f 70 65  J resolution Ope
0390: 6e 0a 4b 20 38 31 32 33 37 39 62 64 31 61 63 35  n.K 812379bd1ac5
03a0: 62 32 62 32 31 64 62 66 63 31 36 39 34 39 35 64  b2b21dbfc169495d
03b0: 66 33 62 66 36 37 32 36 37 39 63 63 0a 55 20 61  f3bf672679cc.U a
03c0: 6e 6f 6e 79 6d 6f 75 73 0a 5a 20 38 38 61 30 63  nonymous.Z 88a0c
03d0: 35 34 37 63 30 66 30 62 30 37 36 65 66 34 63 63  547c0f0b076ef4cc
03e0: 37 64 66 63 30 32 39 34 33 35 31 0a              7dfc0294351.