Offset 1, 5 lines modified | Offset 1, 5 lines modified | ||
1 | ·cad0dc48d51986984b8b48578c1a8416·63748·libdevel·optional·libadasockets-dev_1.14-1_arm64.deb | 1 | ·cad0dc48d51986984b8b48578c1a8416·63748·libdevel·optional·libadasockets-dev_1.14-1_arm64.deb |
2 | · | 2 | ·09d1975add35d60c70ad3587fb263964·272572·doc·optional·libadasockets-doc_1.14-1_all.deb |
3 | ·6edc00add26f99de6fa67272e9c182b1·49288·debug·optional·libadasockets11-dbgsym_1.14-1_arm64.deb | 3 | ·6edc00add26f99de6fa67272e9c182b1·49288·debug·optional·libadasockets11-dbgsym_1.14-1_arm64.deb |
4 | ·97e7131db1e64a125b933147bdfab46d·28044·libs·optional·libadasockets11_1.14-1_arm64.deb | 4 | ·97e7131db1e64a125b933147bdfab46d·28044·libs·optional·libadasockets11_1.14-1_arm64.deb |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | -rw-r--r--···0········0········0········4·2024-03-17·16:33:20.000000·debian-binary | 1 | -rw-r--r--···0········0········0········4·2024-03-17·16:33:20.000000·debian-binary |
2 | -rw-r--r--···0········0········0·····1064·2024-03-17·16:33:20.000000·control.tar.xz | 2 | -rw-r--r--···0········0········0·····1064·2024-03-17·16:33:20.000000·control.tar.xz |
3 | -rw-r--r--···0········0········0···27 | 3 | -rw-r--r--···0········0········0···271316·2024-03-17·16:33:20.000000·data.tar.xz |
Offset 1, 13 lines modified | Offset 1, 13 lines modified | ||
1 | Package:·libadasockets-doc | 1 | Package:·libadasockets-doc |
2 | Source:·adasockets | 2 | Source:·adasockets |
3 | Version:·1.14-1 | 3 | Version:·1.14-1 |
4 | Architecture:·all | 4 | Architecture:·all |
5 | Maintainer:·Phil·Brooke·<pjb@debian.org> | 5 | Maintainer:·Phil·Brooke·<pjb@debian.org> |
6 | Installed-Size:·30 | 6 | Installed-Size:·301 |
7 | Suggests:·gnat | 7 | Suggests:·gnat |
8 | Breaks:·libadasockets10-dev,·libadasockets11-dev,·libadasockets12-dev,·libadasockets8-dev,·libadasockets9-dev | 8 | Breaks:·libadasockets10-dev,·libadasockets11-dev,·libadasockets12-dev,·libadasockets8-dev,·libadasockets9-dev |
9 | Replaces:·libadasockets10-dev,·libadasockets11-dev,·libadasockets12-dev,·libadasockets8-dev,·libadasockets9-dev | 9 | Replaces:·libadasockets10-dev,·libadasockets11-dev,·libadasockets12-dev,·libadasockets8-dev,·libadasockets9-dev |
10 | Section:·doc | 10 | Section:·doc |
11 | Priority:·optional | 11 | Priority:·optional |
12 | Multi-Arch:·foreign | 12 | Multi-Arch:·foreign |
13 | Homepage:·https://www.rfc1149.net/devel/adasockets.html | 13 | Homepage:·https://www.rfc1149.net/devel/adasockets.html |
Offset 1, 21 lines modified | Offset 1, 21 lines modified | ||
1 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-03-17·16:33:20.000000·./ | 1 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-03-17·16:33:20.000000·./ |
2 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-03-17·16:33:20.000000·./usr/ | 2 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-03-17·16:33:20.000000·./usr/ |
3 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-03-17·16:33:20.000000·./usr/share/ | 3 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-03-17·16:33:20.000000·./usr/share/ |
4 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-03-17·16:33:20.000000·./usr/share/doc/ | 4 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-03-17·16:33:20.000000·./usr/share/doc/ |
5 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-03-17·16:33:20.000000·./usr/share/doc/libadasockets-dev/ | 5 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-03-17·16:33:20.000000·./usr/share/doc/libadasockets-dev/ |
6 | -rw-r--r--···0·root·········(0)·root·········(0)·····2311·2023-12-28·23:42:12.000000·./usr/share/doc/libadasockets-dev/README.md | 6 | -rw-r--r--···0·root·········(0)·root·········(0)·····2311·2023-12-28·23:42:12.000000·./usr/share/doc/libadasockets-dev/README.md |
7 | -rw-r--r--···0·root·········(0)·root·········(0)···2 | 7 | -rw-r--r--···0·root·········(0)·root·········(0)···249766·2024-03-17·16:33:20.000000·./usr/share/doc/libadasockets-dev/adasockets.pdf.gz |
8 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-03-17·16:33:20.000000·./usr/share/doc/libadasockets-dev/examples/ | 8 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-03-17·16:33:20.000000·./usr/share/doc/libadasockets-dev/examples/ |
9 | -rw-r--r--···0·root·········(0)·root·········(0)······233·2024-01-27·17:32:23.000000·./usr/share/doc/libadasockets-dev/examples/examples.gpr | 9 | -rw-r--r--···0·root·········(0)·root·········(0)······233·2024-01-27·17:32:23.000000·./usr/share/doc/libadasockets-dev/examples/examples.gpr |
10 | -rw-r--r--···0·root·········(0)·root·········(0)·····4958·2023-12-28·23:42:12.000000·./usr/share/doc/libadasockets-dev/examples/listener.adb | 10 | -rw-r--r--···0·root·········(0)·root·········(0)·····4958·2023-12-28·23:42:12.000000·./usr/share/doc/libadasockets-dev/examples/listener.adb |
11 | -rw-r--r--···0·root·········(0)·root·········(0)·····3982·2023-12-28·23:42:12.000000·./usr/share/doc/libadasockets-dev/examples/multi.adb | 11 | -rw-r--r--···0·root·········(0)·root·········(0)·····3982·2023-12-28·23:42:12.000000·./usr/share/doc/libadasockets-dev/examples/multi.adb |
12 | -rw-r--r--···0·root·········(0)·root·········(0)·····4593·2023-12-28·23:42:12.000000·./usr/share/doc/libadasockets-dev/examples/stream_listener.adb | 12 | -rw-r--r--···0·root·········(0)·root·········(0)·····4593·2023-12-28·23:42:12.000000·./usr/share/doc/libadasockets-dev/examples/stream_listener.adb |
13 | -rw-r--r--···0·root·········(0)·root·········(0)·····3906·2023-12-28·23:42:12.000000·./usr/share/doc/libadasockets-dev/examples/stream_sender.adb | 13 | -rw-r--r--···0·root·········(0)·root·········(0)·····3906·2023-12-28·23:42:12.000000·./usr/share/doc/libadasockets-dev/examples/stream_sender.adb |
14 | -rw-r--r--···0·root·········(0)·root·········(0)·····4921·2023-12-28·23:42:12.000000·./usr/share/doc/libadasockets-dev/examples/tcprelay.adb | 14 | -rw-r--r--···0·root·········(0)·root·········(0)·····4921·2023-12-28·23:42:12.000000·./usr/share/doc/libadasockets-dev/examples/tcprelay.adb |
15 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-03-17·16:33:20.000000·./usr/share/doc/libadasockets-doc/ | 15 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-03-17·16:33:20.000000·./usr/share/doc/libadasockets-doc/ |
16 | -rw-r--r--···0·root·········(0)·root·········(0)·····1561·2024-03-17·16:33:20.000000·./usr/share/doc/libadasockets-doc/changelog.Debian.gz | 16 | -rw-r--r--···0·root·········(0)·root·········(0)·····1561·2024-03-17·16:33:20.000000·./usr/share/doc/libadasockets-doc/changelog.Debian.gz |
17 | -rw-r--r--···0·root·········(0)·root·········(0)·····3026·2024-03-17·16:33:20.000000·./usr/share/doc/libadasockets-doc/copyright | 17 | -rw-r--r--···0·root·········(0)·root·········(0)·····3026·2024-03-17·16:33:20.000000·./usr/share/doc/libadasockets-doc/copyright |
18 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-03-17·16:33:20.000000·./usr/share/doc-base/ | 18 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-03-17·16:33:20.000000·./usr/share/doc-base/ |
19 | -rw-r--r--···0·root·········(0)·root·········(0)······475·2024-01-27·17:32:23.000000·./usr/share/doc-base/libadasockets-doc.adasockets | 19 | -rw-r--r--···0·root·········(0)·root·········(0)······475·2024-01-27·17:32:23.000000·./usr/share/doc-base/libadasockets-doc.adasockets |
20 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-03-17·16:33:20.000000·./usr/share/info/ | 20 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-03-17·16:33:20.000000·./usr/share/info/ |
21 | -rw-r--r--···0·root·········(0)·root·········(0)····1 | 21 | -rw-r--r--···0·root·········(0)·root·········(0)····13956·2024-03-17·16:33:20.000000·./usr/share/info/adasockets.info.gz |
Offset 65, 43 lines modified | Offset 65, 43 lines modified | ||
65 | Socket·(procedure)·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·17 | 65 | Socket·(procedure)·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·17 |
66 | Unset·Buffer·(procedure)·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·18 | 66 | Unset·Buffer·(procedure)·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·18 |
67 | 5 | 67 | 5 |
68 | Sockets.Multicast·package·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·19 | 68 | Sockets.Multicast·package·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·19 |
69 | Create·Multicast·Socket·(function)·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·19 | 69 | Create·Multicast·Socket·(function)·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·19 |
70 | Create·Multicast·Socket·(function)·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.· | 70 | Create·Multicast·Socket·(function)·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·19 |
71 | \xcii | 71 | \xcii |
72 | 6 | 72 | 6 |
73 | Sockets.Naming·package·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·2 | 73 | Sockets.Naming·package·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·21 |
74 | Address·Of·(function)·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·2 | 74 | Address·Of·(function)·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·21 |
75 | Any·Address·(function).·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·2 | 75 | Any·Address·(function).·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·22 |
76 | Get·Peer·Addr·(function)·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·2 | 76 | Get·Peer·Addr·(function)·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·22 |
77 | Get·Peer·Port·(function)·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·2 | 77 | Get·Peer·Port·(function)·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·22 |
78 | Get·Sock·Addr·(function)·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·2 | 78 | Get·Sock·Addr·(function)·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·22 |
79 | Get·Sock·Port·(function)·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·2 | 79 | Get·Sock·Port·(function)·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·23 |
80 | Host·Name·(function)·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·2 | 80 | Host·Name·(function)·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·23 |
81 | Image·(function)·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·2 | 81 | Image·(function)·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·23 |
82 | Info·Of·Name·Or·IP·(function).·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·2 | 82 | Info·Of·Name·Or·IP·(function).·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·24 |
83 | Is·IP·Address·(function).·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·2 | 83 | Is·IP·Address·(function).·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·24 |
84 | Name·Of·(function)·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·2 | 84 | Name·Of·(function)·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·24 |
85 | Value·(function)·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·2 | 85 | Value·(function)·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·25 |
86 | Appendix·A | 86 | Appendix·A |
87 | Contributors.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·2 | 87 | Contributors.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·27 |
88 | Appendix·B | 88 | Appendix·B |
89 | Resources·on·the·Internet·.·.·.·.·.·.·.·.·.· | 89 | Resources·on·the·Internet·.·.·.·.·.·.·.·.·.·29 |
90 | Index·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·3 | 90 | Index·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·31 |
91 | \xc1 | 91 | \xc1 |
92 | 1·What·is·AdaSockets? | 92 | 1·What·is·AdaSockets? |
93 | AdaSockets·is·a·set·of·free·software·Ada·packages·allowing·Ada·programmers·to·use·the | 93 | AdaSockets·is·a·set·of·free·software·Ada·packages·allowing·Ada·programmers·to·use·the |
94 | so-called·BSD·sockets·from·their·favourite·programming·language.·AdaSockets·has·been | 94 | so-called·BSD·sockets·from·their·favourite·programming·language.·AdaSockets·has·been |
95 | designed·and·tested·with·the·GNAT·free·software·Ada·compiler,·but·should·be·portable·to | 95 | designed·and·tested·with·the·GNAT·free·software·Ada·compiler,·but·should·be·portable·to |
Offset 113, 15 lines modified | Offset 113, 15 lines modified | ||
113 | AdaSockets·philosophy·is·to·help·the·Ada·programmer·by·providing·easy-to-use·objects. | 113 | AdaSockets·philosophy·is·to·help·the·Ada·programmer·by·providing·easy-to-use·objects. |
114 | Special·care·has·been·taken·to·ensure·that·performances·do·however·remain·good. | 114 | Special·care·has·been·taken·to·ensure·that·performances·do·however·remain·good. |
115 | \xc\xc3 | 115 | \xc\xc3 |
116 | 2·Installing·AdaSockets | 116 | 2·Installing·AdaSockets |
117 | Installing·AdaSockets·on·a·Unix·or·OpenVMS·machine·is·as·simple·as·typing·a·few·commands.·Once·you·got·the·latest·version·of·AdaSockets·(see·Appendix·B·[Resources·on | 117 | Installing·AdaSockets·on·a·Unix·or·OpenVMS·machine·is·as·simple·as·typing·a·few·commands.·Once·you·got·the·latest·version·of·AdaSockets·(see·Appendix·B·[Resources·on |
118 | the·Internet],·page· | 118 | the·Internet],·page·29),·uncompress·and·untar·it·and·go·to·the·top-level·directory·of·the |
119 | distribution. | 119 | distribution. |
120 | You·must·configure·the·AdaSockets·distribution·by·using·the·configure·command,·such | 120 | You·must·configure·the·AdaSockets·distribution·by·using·the·configure·command,·such |
121 | as·in: | 121 | as·in: |
122 | ./configure·--prefix=/users/sam/adasockets | 122 | ./configure·--prefix=/users/sam/adasockets |
123 | If·you·want·to·install·AdaSockets·under·the·/usr/local·hierarchy,·you·do·not·need·to | 123 | If·you·want·to·install·AdaSockets·under·the·/usr/local·hierarchy,·you·do·not·need·to |
124 | specify·the·--prefix·option.·Make·sure·you·have·write·permission·on·the·target·directories. | 124 | specify·the·--prefix·option.·Make·sure·you·have·write·permission·on·the·target·directories. |
125 | Once·AdaSockets·is·configured,·you·can·compile·and·install·it·by·using·the·make·command: | 125 | Once·AdaSockets·is·configured,·you·can·compile·and·install·it·by·using·the·make·command: |
Offset 286, 15 lines modified | Offset 286, 15 lines modified | ||
286 | Initialized·socket·object | 286 | Initialized·socket·object |
287 | Local·port·to·bind·to | 287 | Local·port·to·bind·to |
288 | Local·interface·to·bind·to | 288 | Local·interface·to·bind·to |
289 | Description | 289 | Description |
290 | This·procedure·requests·a·local·port·from·the·operating·system.·If·0·is·given | 290 | This·procedure·requests·a·local·port·from·the·operating·system.·If·0·is·given |
291 | in·Port,·the·system·will·assign·a·free·port·whose·number·can·later·be·retrieved | 291 | in·Port,·the·system·will·assign·a·free·port·whose·number·can·later·be·retrieved |
292 | using·[Get·Sock·Port·(function)],·page·2 | 292 | using·[Get·Sock·Port·(function)],·page·23.·Also,·most·operating·systems·require |
293 | special·privileges·if·you·want·to·bind·to·ports·below·1024. | 293 | special·privileges·if·you·want·to·bind·to·ports·below·1024. |
294 | If·Host·is·not·the·empty·string,·it·must·contain·the·IP·address·of·a·local·interface | 294 | If·Host·is·not·the·empty·string,·it·must·contain·the·IP·address·of·a·local·interface |
295 | to·bind·to,·or·a·name·which·resolves·into·such·an·address.·If·an·empty·string | 295 | to·bind·to,·or·a·name·which·resolves·into·such·an·address.·If·an·empty·string |
296 | is·given·(the·default),·the·socket·will·be·bound·to·all·the·available·interfaces. | 296 | is·given·(the·default),·the·socket·will·be·bound·to·all·the·available·interfaces. |
297 | Exceptions | 297 | Exceptions |
298 | Socket_Error | 298 | Socket_Error |
Offset 1068, 25 lines modified | Offset 1068, 26 lines modified | ||
1068 | type·Multicast_Socket_FD·is·new | 1068 | type·Multicast_Socket_FD·is·new |
1069 | Socket·FD·with·private; | 1069 | Socket·FD·with·private; |
1070 | [Sockets.Multicast.Multicast·Socket·FD] | 1070 | [Sockets.Multicast.Multicast·Socket·FD] |
1071 | The·Multicast_Socket_FD·tagged·type·derives·from·the·Socket_FD·type.·It·gets | 1071 | The·Multicast_Socket_FD·tagged·type·derives·from·the·Socket_FD·type.·It·gets |
1072 | initialized·by·calling·[Create·Multicast·Socket·(function)],·page· | 1072 | initialized·by·calling·[Create·Multicast·Socket·(function)],·page·19.·An·uninitialized |
1073 | Multicast_Socket_FD·can·be·successfully·compared·to·Null_Multicast_Socket_FD. | 1073 | Multicast_Socket_FD·can·be·successfully·compared·to·Null_Multicast_Socket_FD. |
1074 | Create·Multicast·Socket·(function) | 1074 | Create·Multicast·Socket·(function) |
1075 | Purpose | 1075 | Purpose |
1076 | Create·an·IP·multicast·socket | 1076 | Create·an·IP·multicast·socket |
1077 | Prototype | 1077 | Prototype |
1078 | [Sockets.Multicast.Create·Multicast·Socket] | ||
1079 | function | 1078 | function |
1079 | [Sockets.Multicast.Create·Multicast·Socket] | ||
1080 | Create_Multicast_Socket·(Group·:·String;·Port·:·Natural; | 1080 | Create_Multicast_Socket·(Group·:·String;·Port·:·Natural; |
1081 | TTL·:·Positive·:=·16;·Self_Loop·:·Boolean·:=·True; | 1081 | TTL·:·Positive·:=·16;·Self_Loop·:·Boolean·:=·True; |
1082 | Local_If·:·String·:=·0.0.0.0) | 1082 | Local_If·:·String·:=·0.0.0.0) |
1083 | return·Multicast·Socket·FD; | 1083 | return·Multicast·Socket·FD; |
1084 | Parameters | 1084 | Parameters |
1085 | Group | 1085 | Group |
1086 | Port | 1086 | Port |
Offset 1114, 46 lines modified | Offset 1115, 26 lines modified | ||
1114 | Be·careful·when·choosing·the·TTL·parameter·of·your·IP·multicast·socket.·Most | 1115 | Be·careful·when·choosing·the·TTL·parameter·of·your·IP·multicast·socket.·Most |
1115 | IP·multicast·routers·do·implement·threshold-based·filtering·and·will·not·let·IP | 1116 | IP·multicast·routers·do·implement·threshold-based·filtering·and·will·not·let·IP |
1116 | multicast·packets·leave·your·organization·if·the·TTL·on·the·last·router·is·smaller | 1117 | multicast·packets·leave·your·organization·if·the·TTL·on·the·last·router·is·smaller |
1117 | than·16. | 1118 | than·16. |
1118 | If·0·is·given·for·the·Port,·a·local·one·will·be·chosen.·It·can·then·later·be·retrieved | 1119 | If·0·is·given·for·the·Port,·a·local·one·will·be·chosen.·It·can·then·later·be·retrieved |
1119 | using·Get·Sock·Port. | 1120 | using·Get·Sock·Port. |
1120 | Example | 1121 | Example |
1121 | declare | ||
1122 | Sock | ||
1123 | :·Socket_FD; | ||
1124 | Incoming·:·Socket_FD; | ||
1125 | begin | ||
1126 | --·Create·a·TCP·socket·listening·on·local·port·4161 | ||
1127 | Socket·(Sock,·PF_INET,·SOCK_STREAM); | ||
1128 | Bind·(Sock,·4161); | ||
1129 | Listen·(Sock,·3); | ||
1130 | \xc20 | ||
1131 | AdaSockets·reference·manual | ||
1132 | --·One-connection-at-a-time·server·(3·may·be·pending) | ||
1133 | loop | ||
1134 | --·Wait·for·a·new·connection·and·accept·it | ||
Max diff block lines reached; 17898/25675 bytes (69.71%) of diff not shown. |
Offset 2402, 2606 lines modified | Offset 2402, 2557 lines modified | ||
00009610:·7665·6e20·666f·7220·7468·6520·506f·7274··ven·for·the·Port | 00009610:·7665·6e20·666f·7220·7468·6520·506f·7274··ven·for·the·Port | ||
00009620:·2c20·6120·6c6f·6361·6c20·6f6e·6520·7769··,·a·local·one·wi | 00009620:·2c20·6120·6c6f·6361·6c20·6f6e·6520·7769··,·a·local·one·wi | ||
00009630:·6c6c·2062·6520·6368·6f73·656e·2e20·2049··ll·be·chosen.··I | 00009630:·6c6c·2062·6520·6368·6f73·656e·2e20·2049··ll·be·chosen.··I | ||
00009640:·7420·6361·6e0a·2020·2020·2074·6865·6e20··t·can.·····then· | 00009640:·7420·6361·6e0a·2020·2020·2074·6865·6e20··t·can.·····then· | ||
00009650:·6c61·7465·7220·6265·2072·6574·7269·6576··later·be·retriev | 00009650:·6c61·7465·7220·6265·2072·6574·7269·6576··later·be·retriev | ||
00009660:·6564·2075·7369·6e67·2047·6574·5f53·6f63··ed·using·Get_Soc | 00009660:·6564·2075·7369·6e67·2047·6574·5f53·6f63··ed·using·Get_Soc | ||
00009670:·6b5f·506f·7274·2e0a·0a45·5841·4d50·4c45··k_Port...EXAMPLE | 00009670:·6b5f·506f·7274·2e0a·0a45·5841·4d50·4c45··k_Port...EXAMPLE | ||
00009680:·0a20·2020·2020·2020·2020·2064·6563·6c61··.··········decla | |||
00009690:·7265·0a20·2020·2020·2020·2020·2020·2020··re.············· | |||
000096a0:·536f·636b·2020·2020·203a·2053·6f63·6b65··Sock·····:·Socke | |||
000096b0:·745f·4644·3b0a·2020·2020·2020·2020·2020··t_FD;.·········· | |||
000096c0:·2020·2049·6e63·6f6d·696e·6720·3a20·536f·····Incoming·:·So | |||
000096d0:·636b·6574·5f46·443b·0a20·2020·2020·2020··cket_FD;.······· | |||
000096e0:·2020·2062·6567·696e·0a20·2020·2020·2020·····begin.······· | |||
000096f0:·2020·2020·2020·2d2d·2043·7265·6174·6520········--·Create· | |||
00009700:·6120·5443·5020·736f·636b·6574·206c·6973··a·TCP·socket·lis | |||
00009710:·7465·6e69·6e67·206f·6e20·6c6f·6361·6c20··tening·on·local· | |||
00009720:·706f·7274·2034·3136·310a·2020·2020·2020··port·4161.······ | |||
00009730:·2020·2020·2020·2053·6f63·6b65·7420·2853·········Socket·(S | |||
00009740:·6f63·6b2c·2050·465f·494e·4554·2c20·534f··ock,·PF_INET,·SO | |||
00009750:·434b·5f53·5452·4541·4d29·3b0a·2020·2020··CK_STREAM);.···· | |||
00009760:·2020·2020·2020·2020·2042·696e·6420·2853···········Bind·(S | |||
00009770:·6f63·6b2c·2034·3136·3129·3b0a·2020·2020··ock,·4161);.···· | |||
00009780:·2020·2020·2020·2020·204c·6973·7465·6e20···········Listen· | |||
00009790:·2853·6f63·6b2c·2033·293b·0a20·2020·2020··(Sock,·3);.····· | |||
000097a0:·2020·2020·2020·2020·2d2d·204f·6e65·2d63··········--·One-c | |||
000097b0:·6f6e·6e65·6374·696f·6e2d·6174·2d61·2d74··onnection-at-a-t | |||
000097c0:·696d·6520·7365·7276·6572·2028·3320·6d61··ime·server·(3·ma | |||
000097d0:·7920·6265·2070·656e·6469·6e67·290a·2020··y·be·pending).·· | |||
000097e0:·2020·2020·2020·2020·2020·206c·6f6f·700a·············loop. | |||
000097f0:·2020·2020·2020·2020·2020·2020·2020·2020·················· | |||
00009800:·2d2d·2057·6169·7420·666f·7220·6120·6e65··--·Wait·for·a·ne | |||
00009810:·7720·636f·6e6e·6563·7469·6f6e·2061·6e64··w·connection·and | |||
00009820:·2061·6363·6570·7420·6974·0a20·2020·2020···accept·it.····· | |||
00009830:·2020·2020·2020·2020·2020·2041·6363·6570·············Accep | |||
00009840:·745f·536f·636b·6574·2028·536f·636b·2c20··t_Socket·(Sock,· | |||
00009850:·496e·636f·6d69·6e67·293b·0a20·2020·2020··Incoming);.····· | |||
00009860:·2020·2020·2020·2020·2020·202d·2d20·446f·············--·Do | |||
00009870:·2073·6f6d·6520·6469·616c·6f67·2077·6974···some·dialog·wit | |||
00009880:·6820·7468·6520·7265·6d6f·7465·2068·6f73··h·the·remote·hos | |||
00009890:·740a·2020·2020·2020·2020·2020·2020·2020··t.·············· | |||
000098a0:·2020·446f·5f53·6f6d·655f·4469·616c·6f67····Do_Some_Dialog | |||
000098b0:·2028·496e·636f·6d69·6e67·293b·0a20·2020···(Incoming);.··· | |||
000098c0:·2020·2020·2020·2020·2020·2020·202d·2d20···············--· | |||
000098d0:·436c·6f73·6520·696e·636f·6d69·6e67·2073··Close·incoming·s | |||
000098e0:·6f63·6b65·7420·616e·6420·7761·6974·2066··ocket·and·wait·f | |||
000098f0:·6f72·206e·6578·7420·636f·6e6e·6563·7469··or·next·connecti | |||
00009900:·6f6e·0a20·2020·2020·2020·2020·2020·2020··on.············· | |||
00009910:·2020·2053·6875·7464·6f77·6e20·2849·6e63·····Shutdown·(Inc | |||
00009920:·6f6d·696e·6729·3b0a·2020·2020·2020·2020··oming);.········ | |||
00009930:·2020·2020·2065·6e64·206c·6f6f·703b·0a20·······end·loop;.· | |||
00009940:·2020·2020·2020·2020·2065·6e64·3b0a·0a53···········end;..S | |||
00009 | 00009680:·0a0a·0a53·4545·2041·4c53·4f0a·2020·2020··...SEE·ALSO.···· | ||
0000996 | 00009690:·202a·6e6f·7465·2053·656e·6420·2870·726f···*note·Send·(pro | ||
00009 | 000096a0:·6365·6475·7265·293a·3a2c·0a20·2020·2020··cedure)::,.····· | ||
00009 | 000096b0:·2a6e·6f74·6520·5368·7574·646f·776e·2028··*note·Shutdown·( | ||
00009 | 000096c0:·7072·6f63·6564·7572·6529·3a3a·2e0a·0a2a··procedure)::...* | ||
00009 | 000096d0:·204d·656e·753a·0a0a·4372·6561·7465·5f4d···Menu:..Create_M | ||
00009 | 000096e0:·756c·7469·6361·7374·5f53·6f63·6b65·7420··ulticast_Socket· | ||
00009 | 000096f0:·2866·756e·6374·696f·6e29·0a2d·2d2d·2d2d··(function).----- | ||
00009 | 00009700:·2d2d·2d2d·2d2d·2d2d·2d2d·2d2d·2d2d·2d2d··---------------- | ||
00009 | 00009710:·2d2d·2d2d·2d2d·2d2d·2d2d·2d2d·2d0a·0a50··-------------..P | ||
00009 | 00009720:·5552·504f·5345·0a20·2020·2020·4372·6561··URPOSE.·····Crea | ||
00009 | 00009730:·7465·2061·6e20·4950·206d·756c·7469·6361··te·an·IP·multica | ||
00009 | 00009740:·7374·2073·6f63·6b65·740a·5052·4f54·4f54··st·socket.PROTOT | ||
00009 | 00009750:·5950·450a·2020·2020·2020·2d2d·2053·6f63··YPE.······--·Soc | ||
00009 | 00009760:·6b65·7473·2e4d·756c·7469·6361·7374·2e43··kets.Multicast.C | ||
00009 | 00009770:·7265·6174·655f·4d75·6c74·6963·6173·745f··reate_Multicast_ | ||
00009 | 00009780:·536f·636b·6574·3a20·6675·6e63·7469·6f6e··Socket:·function | ||
00009a60:·2020·2020·2020·2020·2020·2020·4372·6561··············Crea | |||
00009a70:·7465·5f4d·756c·7469·6361·7374·5f53·6f63··te_Multicast_Soc | |||
00009a80:·6b65·7420·2847·524f·5550·203a·2053·7472··ket·(GROUP·:·Str | |||
00009a90:·696e·673b·2050·4f52·5420·3a20·506f·7369··ing;·PORT·:·Posi | |||
00009aa0:·7469·7665·3b0a·2020·2020·2020·2020·2020··tive;.·········· | |||
00009ab0:·2020·2020·204c·4f43·414c·5f50·4f52·5420·······LOCAL_PORT· | |||
00009ac0:·3a20·4e61·7475·7261·6c3b·2054·544c·203a··:·Natural;·TTL·: | |||
00009ad0:·2050·6f73·6974·6976·6520·3a3d·2031·363b···Positive·:=·16; | |||
00009 | 00009790:·0a20·2020·2020·2020·2020·2020·2020·2020··.··············· | ||
000097a0:·4372·6561·7465·5f4d·756c·7469·6361·7374··Create_Multicast | |||
000097b0:·5f53·6f63·6b65·7420·2847·524f·5550·203a··_Socket·(GROUP·: | |||
000097c0:·2053·7472·696e·673b·2050·4f52·5420·3a20···String;·PORT·:· | |||
000097d0:·506f·7369·7469·7665·3b0a·2020·2020·2020··Positive;.······ | |||
000097e0:·2020·2020·2020·2020·204c·4f43·414c·5f50···········LOCAL_P | |||
000097f0:·4f52·5420·3a20·4e61·7475·7261·6c3b·2054··ORT·:·Natural;·T | |||
00009800:·544c·203a·2050·6f73·6974·6976·6520·3a3d··TL·:·Positive·:= | |||
00009af0:·4c4f·4341·4c5f·4946·203a·2053·7472·696e··LOCAL_IF·:·Strin | |||
00009b00:·6720·3a3d·2030·2e30·2e30·2e30·290a·2020··g·:=·0.0.0.0).·· | |||
00009b10:·2020·2020·2020·2020·2020·2020·2072·6574···············ret | |||
00009b20:·7572·6e20·4d75·6c74·6963·6173·745f·536f··urn·Multicast_So | |||
00009b30:·636b·6574·5f46·443b·0a0a·5041·5241·4d45··cket_FD;..PARAME | |||
00009b40:·5445·5253·0a20·2020·2020·4752·4f55·5020··TERS.·····GROUP· | |||
00009b50:·2020·2020·2069·6e20·2020·2020·2020·2020·······in········· | |||
00009b60:·4950·2061·6464·7265·7373·206f·6620·7468··IP·address·of·th | |||
00009b70:·6520·6d75·6c74·6963·6173·7420·6772·6f75··e·multicast·grou | |||
00009 | 00009810:·2031·363b·0a20·2020·2020·2020·2020·2020···16;.··········· | ||
00009820:·2020·2020·4c4f·4341·4c5f·4946·203a·2053······LOCAL_IF·:·S | |||
00009830:·7472·696e·6720·3a3d·2030·2e30·2e30·2e30··tring·:=·0.0.0.0 | |||
00009840:·290a·2020·2020·2020·2020·2020·2020·2020··).·············· | |||
00009850:·2072·6574·7572·6e20·4d75·6c74·6963·6173···return·Multicas | |||
00009860:·745f·536f·636b·6574·5f46·443b·0a0a·5041··t_Socket_FD;..PA | |||
00009870:·5241·4d45·5445·5253·0a20·2020·2020·4752··RAMETERS.·····GR | |||
00009880:·4f55·5020·2020·2020·2069·6e20·2020·2020··OUP······in····· | |||
00009890:·2020·2020·4950·2061·6464·7265·7373·206f······IP·address·o | |||
000098a0:·6620·7468·6520·6d75·6c74·6963·6173·7420··f·the·multicast· | |||
000098b0:·6772·6f75·7020·746f·0a20·2020·2020·2020··group·to.······· | |||
00009 | 000098c0:·2020·2020·2020·2020·2020·2020·2020·2020·················· | ||
00009 | 000098d0:·2020·2020·6a6f·696e·0a20·2020·2020·504f······join.·····PO | ||
000098e0:·5254·2020·2020·2020·2069·6e20·2020·2020··RT·······in····· | |||
000098f0:·2020·2020·506f·7274·206f·6620·7468·6520······Port·of·the· | |||
00009900:·6d75·6c74·6963·6173·7420·6772·6f75·7020··multicast·group· | |||
00009910:·746f·206a·6f69·6e0a·2020·2020·204c·4f43··to·join.·····LOC | |||
00009920:·414c·5f50·4f52·5420·696e·2020·2020·2020··AL_PORT·in······ | |||
00009930:·2020·204c·6f63·616c·2070·6f72·7420·6e75·····Local·port·nu | |||
00009940:·6d62·6572·2074·6f20·7573·650a·2020·2020··mber·to·use.···· | |||
00009950:·2054·544c·2020·2020·2020·2020·696e·2020···TTL········in·· | |||
00009960:·2020·2020·2020·2054·696d·652d·746f·2d6c·········Time-to-l | |||
00009970:·6976·6520·6f66·2073·656e·7420·7061·636b··ive·of·sent·pack | |||
00009980:·6574·730a·2020·2020·204c·4f43·414c·5f49··ets.·····LOCAL_I | |||
00009 | 00009990:·4620·2020·696e·2020·2020·2020·2020·2041··F···in·········A | ||
00009bc0:·506f·7274·206f·6620·7468·6520·6d75·6c74··Port·of·the·mult | |||
00009bd0:·6963·6173·7420·6772·6f75·7020·746f·206a··icast·group·to·j | |||
00009be0:·6f69·6e0a·2020·2020·204c·4f43·414c·5f50··oin.·····LOCAL_P | |||
00009bf0:·4f52·5420·696e·2020·2020·2020·2020·204c··ORT·in·········L | |||
00009c00:·6f63·616c·2070·6f72·7420·6e75·6d62·6572··ocal·port·number | |||
00009c10:·2074·6f20·7573·650a·2020·2020·2054·544c···to·use.·····TTL | |||
00009c20:·2020·2020·2020·2020·696e·2020·2020·2020··········in······ | |||
00009c30:·2020·2054·696d·652d·746f·2d6c·6976·6520·····Time-to-live· | |||
Max diff block lines reached; 305109/346399 bytes (88.08%) of diff not shown. |