ulib/3party/asio/doc/examples/diffs/http/server/main.cpp.html
tqcq 6e1491fd41
All checks were successful
rpcrypto-build / build (Debug, himix200.toolchain.cmake) (push) Successful in 1m8s
rpcrypto-build / build (Debug, hisiv510.toolchain.cmake) (push) Successful in 1m8s
rpcrypto-build / build (Release, hisiv510.toolchain.cmake) (push) Successful in 1m17s
rpcrypto-build / build (Release, himix200.toolchain.cmake) (push) Successful in 1m21s
linux-hisiv500-gcc / linux-gcc-hisiv500 (push) Successful in 1m26s
linux-mips64-gcc / linux-gcc-mips64el (push) Successful in 1m43s
linux-x64-gcc / linux-gcc (push) Successful in 1m52s
feat add asio
2024-01-21 12:01:15 +08:00

85 lines
28 KiB
HTML

<!DOCTYPE html>
<html lang="en" dir="ltr"
xmlns:dc="http://purl.org/dc/terms/">
<head>
<meta charset="utf-8" />
<meta name="generator" content="diff2html.py (http://git.droids-corp.org/gitweb/?p=diff2html)" />
<!--meta name="author" content="Fill in" /-->
<title>HTML Diff http/server/main.cpp</title>
<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAgMAAABinRfyAAAACVBMVEXAAAAAgAD///+K/HwIAAAAJUlEQVQI12NYBQQM2IgGBQ4mCIEQW7oyK4phampkGIQAc1G1AQCRxCNbyW92oQAAAABJRU5ErkJggg==" type="image/png" />
<meta property="dc:language" content="en" />
<!--meta property="dc:date" content="" /-->
<meta property="dc:modified" content="2023-04-26T20:13:17.620373+01:00" />
<meta name="description" content="File comparison" />
<meta property="dc:abstract" content="File comparison" />
<style>
table { border:0px; border-collapse:collapse; width: 100%; font-size:0.75em; font-family: Lucida Console, monospace }
td.line { color:#8080a0 }
th { background: black; color: white }
tr.diffunmodified td { background: #D0D0E0 }
tr.diffhunk td { background: #A0A0A0 }
tr.diffadded td { background: #CCFFCC }
tr.diffdeleted td { background: #FFCCCC }
tr.diffchanged td { background: #FFFFA0 }
span.diffchanged2 { background: #E0C880 }
span.diffponct { color: #B08080 }
tr.diffmisc td {}
tr.diffseparator td {}
</style>
</head>
<body>
<table class="diff">
<tr><th colspan='2'>src/&#8203;examples/&#8203;cpp03/&#8203;http/&#8203;server/&#8203;main.&#8203;cpp</th><th colspan='2'>src/&#8203;examples/&#8203;cpp11/&#8203;http/&#8203;server/&#8203;main.&#8203;cpp</th></tr>
<tr class="diffhunk"><td colspan="2">&#8942;</td><td colspan="2">&#8942;</td></tr><tr class="diffunmodified"><td class="diffline">1 </td><td class="diffpresent">/&#8203;/&#8203;</td><td class="diffline">1 </td><td class="diffpresent">/&#8203;/&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">2 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;main.&#8203;cpp</td><td class="diffline">2 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;main.&#8203;cpp</td></tr>
<tr class="diffunmodified"><td class="diffline">3 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;~~~~~~~~</td><td class="diffline">3 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;~~~~~~~~</td></tr>
<tr class="diffunmodified"><td class="diffline">4 </td><td class="diffpresent">/&#8203;/&#8203;</td><td class="diffline">4 </td><td class="diffpresent">/&#8203;/&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">5 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Copyright<span class="diffponct">&middot;</span>&#8203;(c)&#8203;<span class="diffponct">&middot;</span>&#8203;2003-&#8203;2023<span class="diffponct">&middot;</span>&#8203;Christopher<span class="diffponct">&middot;</span>&#8203;M.&#8203;<span class="diffponct">&middot;</span>&#8203;Kohlhoff<span class="diffponct">&middot;</span>&#8203;(chris<span class="diffponct">&middot;</span>&#8203;at<span class="diffponct">&middot;</span>&#8203;kohlhoff<span class="diffponct">&middot;</span>&#8203;dot<span class="diffponct">&middot;</span>&#8203;com)&#8203;</td><td class="diffline">5 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Copyright<span class="diffponct">&middot;</span>&#8203;(c)&#8203;<span class="diffponct">&middot;</span>&#8203;2003-&#8203;2023<span class="diffponct">&middot;</span>&#8203;Christopher<span class="diffponct">&middot;</span>&#8203;M.&#8203;<span class="diffponct">&middot;</span>&#8203;Kohlhoff<span class="diffponct">&middot;</span>&#8203;(chris<span class="diffponct">&middot;</span>&#8203;at<span class="diffponct">&middot;</span>&#8203;kohlhoff<span class="diffponct">&middot;</span>&#8203;dot<span class="diffponct">&middot;</span>&#8203;com)&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">6 </td><td class="diffpresent">/&#8203;/&#8203;</td><td class="diffline">6 </td><td class="diffpresent">/&#8203;/&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">7 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Distributed<span class="diffponct">&middot;</span>&#8203;under<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;Boost<span class="diffponct">&middot;</span>&#8203;Software<span class="diffponct">&middot;</span>&#8203;License,&#8203;<span class="diffponct">&middot;</span>&#8203;Version<span class="diffponct">&middot;</span>&#8203;1.&#8203;0.&#8203;<span class="diffponct">&middot;</span>&#8203;(See<span class="diffponct">&middot;</span>&#8203;accompanying</td><td class="diffline">7 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Distributed<span class="diffponct">&middot;</span>&#8203;under<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;Boost<span class="diffponct">&middot;</span>&#8203;Software<span class="diffponct">&middot;</span>&#8203;License,&#8203;<span class="diffponct">&middot;</span>&#8203;Version<span class="diffponct">&middot;</span>&#8203;1.&#8203;0.&#8203;<span class="diffponct">&middot;</span>&#8203;(See<span class="diffponct">&middot;</span>&#8203;accompanying</td></tr>
<tr class="diffunmodified"><td class="diffline">8 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;file<span class="diffponct">&middot;</span>&#8203;LICENSE_1_0.&#8203;txt<span class="diffponct">&middot;</span>&#8203;or<span class="diffponct">&middot;</span>&#8203;copy<span class="diffponct">&middot;</span>&#8203;at<span class="diffponct">&middot;</span>&#8203;http:&#8203;/&#8203;/&#8203;www.&#8203;boost.&#8203;org/&#8203;LICENSE_1_0.&#8203;txt)&#8203;</td><td class="diffline">8 </td><td class="diffpresent">/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;file<span class="diffponct">&middot;</span>&#8203;LICENSE_1_0.&#8203;txt<span class="diffponct">&middot;</span>&#8203;or<span class="diffponct">&middot;</span>&#8203;copy<span class="diffponct">&middot;</span>&#8203;at<span class="diffponct">&middot;</span>&#8203;http:&#8203;/&#8203;/&#8203;www.&#8203;boost.&#8203;org/&#8203;LICENSE_1_0.&#8203;txt)&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">9 </td><td class="diffpresent">/&#8203;/&#8203;</td><td class="diffline">9 </td><td class="diffpresent">/&#8203;/&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">10 </td><td class="diffpresent"></td><td class="diffline">10 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">11 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&lt;iostream&gt;</td><td class="diffline">11 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&lt;iostream&gt;</td></tr>
<tr class="diffunmodified"><td class="diffline">12 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&lt;string&gt;</td><td class="diffline">12 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&lt;string&gt;</td></tr>
<tr class="diffunmodified"><td class="diffline">13 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&lt;asio.&#8203;hpp&gt;</td><td class="diffline">13 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&lt;asio.&#8203;hpp&gt;</td></tr>
<tr class="diffdeleted"><td class="diffline">14 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&lt;boost/&#8203;bind/&#8203;bind.&#8203;hpp&gt;</td><td colspan="2"></td></tr>
<tr class="diffunmodified"><td class="diffline">15 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&quot;server.&#8203;hpp&quot;</td><td class="diffline">14 </td><td class="diffpresent">#include<span class="diffponct">&middot;</span>&#8203;&quot;server.&#8203;hpp&quot;</td></tr>
<tr class="diffunmodified"><td class="diffline">16 </td><td class="diffpresent"></td><td class="diffline">15 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">17 </td><td class="diffpresent">int<span class="diffponct">&middot;</span>&#8203;main(int<span class="diffponct">&middot;</span>&#8203;argc,&#8203;<span class="diffponct">&middot;</span>&#8203;char*<span class="diffponct">&middot;</span>&#8203;argv[])&#8203;</td><td class="diffline">16 </td><td class="diffpresent">int<span class="diffponct">&middot;</span>&#8203;main(int<span class="diffponct">&middot;</span>&#8203;argc,&#8203;<span class="diffponct">&middot;</span>&#8203;char*<span class="diffponct">&middot;</span>&#8203;argv[])&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">18 </td><td class="diffpresent">{</td><td class="diffline">17 </td><td class="diffpresent">{</td></tr>
<tr class="diffunmodified"><td class="diffline">19 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;try</td><td class="diffline">18 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;try</td></tr>
<tr class="diffunmodified"><td class="diffline">20 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td><td class="diffline">19 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td></tr>
<tr class="diffunmodified"><td class="diffline">21 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Check<span class="diffponct">&middot;</span>&#8203;command<span class="diffponct">&middot;</span>&#8203;line<span class="diffponct">&middot;</span>&#8203;arguments.&#8203;</td><td class="diffline">20 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Check<span class="diffponct">&middot;</span>&#8203;command<span class="diffponct">&middot;</span>&#8203;line<span class="diffponct">&middot;</span>&#8203;arguments.&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">22 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;if<span class="diffponct">&middot;</span>&#8203;(argc<span class="diffponct">&middot;</span>&#8203;!=<span class="diffponct">&middot;</span>&#8203;4)&#8203;</td><td class="diffline">21 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;if<span class="diffponct">&middot;</span>&#8203;(argc<span class="diffponct">&middot;</span>&#8203;!=<span class="diffponct">&middot;</span>&#8203;4)&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">23 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td><td class="diffline">22 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td></tr>
<tr class="diffunmodified"><td class="diffline">24 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;cerr<span class="diffponct">&middot;</span>&#8203;&lt;&lt;<span class="diffponct">&middot;</span>&#8203;&quot;Usage:&#8203;<span class="diffponct">&middot;</span>&#8203;http_server<span class="diffponct">&middot;</span>&#8203;&lt;address&gt;<span class="diffponct">&middot;</span>&#8203;&lt;port&gt;<span class="diffponct">&middot;</span>&#8203;&lt;doc_root&gt;\n&quot;;&#8203;</td><td class="diffline">23 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;cerr<span class="diffponct">&middot;</span>&#8203;&lt;&lt;<span class="diffponct">&middot;</span>&#8203;&quot;Usage:&#8203;<span class="diffponct">&middot;</span>&#8203;http_server<span class="diffponct">&middot;</span>&#8203;&lt;address&gt;<span class="diffponct">&middot;</span>&#8203;&lt;port&gt;<span class="diffponct">&middot;</span>&#8203;&lt;doc_root&gt;\n&quot;;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">25 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;cerr<span class="diffponct">&middot;</span>&#8203;&lt;&lt;<span class="diffponct">&middot;</span>&#8203;&quot;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;For<span class="diffponct">&middot;</span>&#8203;IPv4,&#8203;<span class="diffponct">&middot;</span>&#8203;try:&#8203;\n&quot;;&#8203;</td><td class="diffline">24 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;cerr<span class="diffponct">&middot;</span>&#8203;&lt;&lt;<span class="diffponct">&middot;</span>&#8203;&quot;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;For<span class="diffponct">&middot;</span>&#8203;IPv4,&#8203;<span class="diffponct">&middot;</span>&#8203;try:&#8203;\n&quot;;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">26 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;cerr<span class="diffponct">&middot;</span>&#8203;&lt;&lt;<span class="diffponct">&middot;</span>&#8203;&quot;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;receiver<span class="diffponct">&middot;</span>&#8203;0.&#8203;0.&#8203;0.&#8203;0<span class="diffponct">&middot;</span>&#8203;80<span class="diffponct">&middot;</span>&#8203;.&#8203;\n&quot;;&#8203;</td><td class="diffline">25 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;cerr<span class="diffponct">&middot;</span>&#8203;&lt;&lt;<span class="diffponct">&middot;</span>&#8203;&quot;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;receiver<span class="diffponct">&middot;</span>&#8203;0.&#8203;0.&#8203;0.&#8203;0<span class="diffponct">&middot;</span>&#8203;80<span class="diffponct">&middot;</span>&#8203;.&#8203;\n&quot;;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">27 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;cerr<span class="diffponct">&middot;</span>&#8203;&lt;&lt;<span class="diffponct">&middot;</span>&#8203;&quot;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;For<span class="diffponct">&middot;</span>&#8203;IPv6,&#8203;<span class="diffponct">&middot;</span>&#8203;try:&#8203;\n&quot;;&#8203;</td><td class="diffline">26 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;cerr<span class="diffponct">&middot;</span>&#8203;&lt;&lt;<span class="diffponct">&middot;</span>&#8203;&quot;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;For<span class="diffponct">&middot;</span>&#8203;IPv6,&#8203;<span class="diffponct">&middot;</span>&#8203;try:&#8203;\n&quot;;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">28 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;cerr<span class="diffponct">&middot;</span>&#8203;&lt;&lt;<span class="diffponct">&middot;</span>&#8203;&quot;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;receiver<span class="diffponct">&middot;</span>&#8203;0:&#8203;:&#8203;0<span class="diffponct">&middot;</span>&#8203;80<span class="diffponct">&middot;</span>&#8203;.&#8203;\n&quot;;&#8203;</td><td class="diffline">27 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;cerr<span class="diffponct">&middot;</span>&#8203;&lt;&lt;<span class="diffponct">&middot;</span>&#8203;&quot;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;receiver<span class="diffponct">&middot;</span>&#8203;0:&#8203;:&#8203;0<span class="diffponct">&middot;</span>&#8203;80<span class="diffponct">&middot;</span>&#8203;.&#8203;\n&quot;;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">29 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;return<span class="diffponct">&middot;</span>&#8203;1;&#8203;</td><td class="diffline">28 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;return<span class="diffponct">&middot;</span>&#8203;1;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">30 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td><td class="diffline">29 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td></tr>
<tr class="diffunmodified"><td class="diffline">31 </td><td class="diffpresent"></td><td class="diffline">30 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">32 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Initialise<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;server.&#8203;</td><td class="diffline">31 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Initialise<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;server.&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">33 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;http:&#8203;:&#8203;server:&#8203;:&#8203;server<span class="diffponct">&middot;</span>&#8203;s(argv[1],&#8203;<span class="diffponct">&middot;</span>&#8203;argv[2],&#8203;<span class="diffponct">&middot;</span>&#8203;argv[3])&#8203;;&#8203;</td><td class="diffline">32 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;http:&#8203;:&#8203;server:&#8203;:&#8203;server<span class="diffponct">&middot;</span>&#8203;s(argv[1],&#8203;<span class="diffponct">&middot;</span>&#8203;argv[2],&#8203;<span class="diffponct">&middot;</span>&#8203;argv[3])&#8203;;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">34 </td><td class="diffpresent"></td><td class="diffline">33 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">35 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Run<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;server<span class="diffponct">&middot;</span>&#8203;until<span class="diffponct">&middot;</span>&#8203;stopped.&#8203;</td><td class="diffline">34 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;/&#8203;/&#8203;<span class="diffponct">&middot;</span>&#8203;Run<span class="diffponct">&middot;</span>&#8203;the<span class="diffponct">&middot;</span>&#8203;server<span class="diffponct">&middot;</span>&#8203;until<span class="diffponct">&middot;</span>&#8203;stopped.&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">36 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;s.&#8203;run()&#8203;;&#8203;</td><td class="diffline">35 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;s.&#8203;run()&#8203;;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">37 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td><td class="diffline">36 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td></tr>
<tr class="diffunmodified"><td class="diffline">38 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;catch<span class="diffponct">&middot;</span>&#8203;(std:&#8203;:&#8203;exception&amp;<span class="diffponct">&middot;</span>&#8203;e)&#8203;</td><td class="diffline">37 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;catch<span class="diffponct">&middot;</span>&#8203;(std:&#8203;:&#8203;exception&amp;<span class="diffponct">&middot;</span>&#8203;e)&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">39 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td><td class="diffline">38 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;{</td></tr>
<tr class="diffunmodified"><td class="diffline">40 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;cerr<span class="diffponct">&middot;</span>&#8203;&lt;&lt;<span class="diffponct">&middot;</span>&#8203;&quot;exception:&#8203;<span class="diffponct">&middot;</span>&#8203;&quot;<span class="diffponct">&middot;</span>&#8203;&lt;&lt;<span class="diffponct">&middot;</span>&#8203;e.&#8203;what()&#8203;<span class="diffponct">&middot;</span>&#8203;&lt;&lt;<span class="diffponct">&middot;</span>&#8203;&quot;\n&quot;;&#8203;</td><td class="diffline">39 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;std:&#8203;:&#8203;cerr<span class="diffponct">&middot;</span>&#8203;&lt;&lt;<span class="diffponct">&middot;</span>&#8203;&quot;exception:&#8203;<span class="diffponct">&middot;</span>&#8203;&quot;<span class="diffponct">&middot;</span>&#8203;&lt;&lt;<span class="diffponct">&middot;</span>&#8203;e.&#8203;what()&#8203;<span class="diffponct">&middot;</span>&#8203;&lt;&lt;<span class="diffponct">&middot;</span>&#8203;&quot;\n&quot;;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">41 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td><td class="diffline">40 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;}</td></tr>
<tr class="diffunmodified"><td class="diffline">42 </td><td class="diffpresent"></td><td class="diffline">41 </td><td class="diffpresent"></td></tr>
<tr class="diffunmodified"><td class="diffline">43 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;return<span class="diffponct">&middot;</span>&#8203;0;&#8203;</td><td class="diffline">42 </td><td class="diffpresent"><span class="diffponct">&middot;</span>&#8203;<span class="diffponct">&middot;</span>&#8203;return<span class="diffponct">&middot;</span>&#8203;0;&#8203;</td></tr>
<tr class="diffunmodified"><td class="diffline">44 </td><td class="diffpresent">}</td><td class="diffline">43 </td><td class="diffpresent">}</td></tr>
</table>
<footer>
<p>Modified at 26.04.2023. HTML formatting created by <a href="http://git.droids-corp.org/gitweb/?p=diff2html;a=summary">diff2html</a>. </p>
</footer>
</body></html>