/ BBS in a Box 12
/ BBS in a box XII-1.iso / Files / Tele / Internet / NewsWatch.sit / headers / GetMyIPAddr.h ![]() | < prev | next > |
MacBinary | 1991-04-03 | 1.3 KB | [TEXT/MPS ] |
Confidence | Program | Detection | Match Type | Support |
---|---|---|---|---|
10% | dexvert | MacBinary (archive/macBinary) | fallback | Supported |
1% | dexvert | Text File (text/txt) | fallback | Supported |
100% | file | MacBinary II, Wed Apr 3 18:29:55 1991, modified Wed Apr 3 18:29:55 1991, creator 'MPS ', type ASCII, 677 bytes "GetMyIPAddr.h" , at 0x325 382 bytes resource | default (weak) | |
99% | file | data | default | |
74% | TrID | Macintosh plain text (MacBinary) | default | |
25% | TrID | MacBinary 2 | default (weak) | |
100% | siegfried | fmt/1762 MacBinary (II) | default | |
100% | lsar | MacBinary | default |
id metadata | |
---|---|
key | value |
macFileType | [TEXT] |
macFileCreator | [MPS ] |
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0d 47 65 74 4d 79 49 | 50 41 64 64 72 2e 68 00 |..GetMyI|PAddr.h.|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 53 | 20 00 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 02 a5 00 | 00 01 7e a4 20 15 f3 a4 |........|..~. ...|
|00000060| 20 15 f3 00 00 00 00 00 | 00 00 00 00 00 00 00 00 | .......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 84 40 00 00 |........|.....@..|
|00000080| 2f 2a 20 0d 09 47 65 74 | 4d 79 49 50 41 64 64 72 |/* ..Get|MyIPAddr|
|00000090| 2e 68 09 0d 09 43 20 64 | 65 66 69 6e 69 74 69 6f |.h...C d|efinitio|
|000000a0| 6e 73 20 6f 66 20 70 61 | 72 61 6d 65 74 65 72 20 |ns of pa|rameter |
|000000b0| 62 6c 6f 63 6b 20 65 6e | 74 72 69 65 73 20 6e 65 |block en|tries ne|
|000000c0| 65 64 65 64 20 66 6f 72 | 20 49 50 20 63 61 6c 6c |eded for| IP call|
|000000d0| 73 0d 0d 20 20 20 20 43 | 6f 70 79 72 69 67 68 74 |s.. C|opyright|
|000000e0| 20 41 70 70 6c 65 20 43 | 6f 6d 70 75 74 65 72 2c | Apple C|omputer,|
|000000f0| 20 49 6e 63 2e 20 31 39 | 38 39 20 0d 20 20 20 20 | Inc. 19|89 . |
|00000100| 41 6c 6c 20 72 69 67 68 | 74 73 20 72 65 73 65 72 |All righ|ts reser|
|00000110| 76 65 64 0d 09 0d 2a 2f | 0d 0d 23 69 66 6e 64 65 |ved...*/|..#ifnde|
|00000120| 66 20 5f 47 45 54 4d 59 | 49 50 5f 0d 23 64 65 66 |f _GETMY|IP_.#def|
|00000130| 69 6e 65 20 5f 47 45 54 | 4d 59 49 50 5f 0d 0d 23 |ine _GET|MYIP_..#|
|00000140| 64 65 66 69 6e 65 20 69 | 70 63 74 6c 47 65 74 41 |define i|pctlGetA|
|00000150| 64 64 72 09 09 31 35 09 | 09 09 2f 2a 20 63 73 43 |ddr..15.|../* csC|
|00000160| 6f 64 65 20 74 6f 20 67 | 65 74 20 6f 75 72 20 49 |ode to g|et our I|
|00000170| 50 20 61 64 64 72 65 73 | 73 20 2a 2f 0d 0d 23 64 |P addres|s */..#d|
|00000180| 65 66 69 6e 65 20 49 50 | 50 61 72 61 6d 42 6c 6f |efine IP|ParamBlo|
|00000190| 63 6b 48 65 61 64 65 72 | 20 09 5c 0d 09 73 74 72 |ckHeader| .\..str|
|000001a0| 75 63 74 20 51 45 6c 65 | 6d 20 2a 71 4c 69 6e 6b |uct QEle|m *qLink|
|000001b0| 3b 20 09 5c 0d 09 73 68 | 6f 72 74 20 71 54 79 70 |; .\..sh|ort qTyp|
|000001c0| 65 3b 20 09 09 09 5c 0d | 09 73 68 6f 72 74 20 69 |e; ...\.|.short i|
|000001d0| 6f 54 72 61 70 3b 20 09 | 09 09 5c 0d 09 50 74 72 |oTrap; .|..\..Ptr|
|000001e0| 20 69 6f 43 6d 64 41 64 | 64 72 3b 20 09 09 09 5c | ioCmdAd|dr; ...\|
|000001f0| 0d 09 50 72 6f 63 50 74 | 72 20 69 6f 43 6f 6d 70 |..ProcPt|r ioComp|
|00000200| 6c 65 74 69 6f 6e 3b 20 | 09 5c 0d 09 4f 53 45 72 |letion; |.\..OSEr|
|00000210| 72 20 69 6f 52 65 73 75 | 6c 74 3b 20 09 09 5c 0d |r ioResu|lt; ..\.|
|00000220| 09 53 74 72 69 6e 67 50 | 74 72 20 69 6f 4e 61 6d |.StringP|tr ioNam|
|00000230| 65 50 74 72 3b 20 09 5c | 0d 09 73 68 6f 72 74 20 |ePtr; .\|..short |
|00000240| 69 6f 56 52 65 66 4e 75 | 6d 3b 09 09 5c 0d 09 73 |ioVRefNu|m;..\..s|
|00000250| 68 6f 72 74 20 69 6f 43 | 52 65 66 4e 75 6d 3b 09 |hort ioC|RefNum;.|
|00000260| 09 5c 0d 09 73 68 6f 72 | 74 20 63 73 43 6f 64 65 |.\..shor|t csCode|
|00000270| 0d 0d 73 74 72 75 63 74 | 20 49 50 50 61 72 61 6d |..struct| IPParam|
|00000280| 42 6c 6f 63 6b 20 7b 0d | 09 49 50 50 61 72 61 6d |Block {.|.IPParam|
|00000290| 42 6c 6f 63 6b 48 65 61 | 64 65 72 3b 09 09 09 2f |BlockHea|der;.../|
|000002a0| 2a 20 73 74 61 6e 64 61 | 72 64 20 49 2f 4f 20 68 |* standa|rd I/O h|
|000002b0| 65 61 64 65 72 20 2a 2f | 0d 09 69 70 5f 61 64 64 |eader */|..ip_add|
|000002c0| 72 09 6f 75 72 41 64 64 | 72 65 73 73 3b 09 09 09 |r.ourAdd|ress;...|
|000002d0| 2f 2a 20 6f 75 72 20 49 | 50 20 61 64 64 72 65 73 |/* our I|P addres|
|000002e0| 73 20 2a 2f 0d 09 6c 6f | 6e 67 09 6f 75 72 4e 65 |s */..lo|ng.ourNe|
|000002f0| 74 4d 61 73 6b 3b 09 09 | 09 2f 2a 20 6f 75 72 20 |tMask;..|./* our |
|00000300| 49 50 20 6e 65 74 20 6d | 61 73 6b 20 2a 2f 0d 09 |IP net m|ask */..|
|00000310| 7d 3b 0d 09 0d 23 65 6e | 64 69 66 20 5f 47 45 54 |};...#en|dif _GET|
|00000320| 4d 59 49 50 5f 00 00 00 | 00 00 00 00 00 00 00 00 |MYIP_...|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000380| 00 00 01 00 00 00 01 4c | 00 00 00 4c 00 00 00 32 |.......L|...L...2|
|00000390| 09 69 70 5f 61 64 64 72 | 09 6f 75 72 41 64 64 72 |.ip_addr|.ourAddr|
|000003a0| 65 73 73 3b 09 09 09 2f | 2a 20 6f 75 72 20 49 50 |ess;.../|* our IP|
|000003b0| 0d 47 65 74 4d 79 49 50 | 41 64 64 72 2e 68 02 00 |.GetMyIP|Addr.h..|
|000003c0| 00 00 50 61 72 74 53 49 | 54 78 00 00 00 00 00 00 |..PartSI|Tx......|
|000003d0| 00 00 50 61 72 74 53 49 | 54 78 00 00 00 00 00 00 |..PartSI|Tx......|
|000003e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003f0| 00 00 a9 8d 49 71 00 00 | 00 00 00 00 01 7e 63 6f |....Iq..|.....~co|
|00000400| 6e 73 69 64 65 72 65 64 | 20 70 61 69 6e 66 75 6c |nsidered| painful|
|00000410| 20 61 6e 64 20 74 69 6d | 65 20 63 6f 6e 73 75 6d | and tim|e consum|
|00000420| 69 6e 67 2e 0d 0d 54 68 | 65 72 65 20 61 72 65 20 |ing...Th|ere are |
|00000430| 73 65 76 65 72 61 6c 20 | 70 72 6f 64 75 63 74 73 |several |products|
|00000440| 20 74 68 61 74 20 77 65 | 20 66 65 65 6c 20 73 68 | that we| feel sh|
|00000450| 6f 75 6c 64 20 62 65 20 | 70 6f 69 6e 74 65 64 20 |ould be |pointed |
|00000460| 6f 75 74 20 61 73 20 72 | 65 71 75 69 72 69 6e 67 |out as r|equiring|
|00000470| 0d 61 74 74 65 6e 74 69 | 6f 6e 2e 20 20 41 6c 74 |.attenti|on. Alt|
|00000480| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 06 | 00 04 00 53 00 19 01 cc |........|...S....|
|000004b0| 02 3a 00 53 00 19 01 cc | 02 3a a2 9d 84 12 00 00 |.:.S....|.:......|
|000004c0| 00 fd 00 00 00 fd 00 00 | 00 00 01 00 00 00 01 00 |........|........|
|000004d0| 00 00 01 4c 00 00 00 4c | 00 00 00 32 00 3f 1d b0 |...L...L|...2.?..|
|000004e0| 04 6a 00 00 00 1c 00 32 | 00 00 4d 50 53 52 00 00 |.j.....2|..MPSR..|
|000004f0| 00 0a 03 ed ff ff 00 00 | 00 00 00 40 f9 1c 00 00 |........|...@....|
+--------+-------------------------+-------------------------+--------+--------+