<p><a href="https://gerrit.osmocom.org/c/osmo-hlr/+/16203">View Change</a></p><p>2 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/c/osmo-hlr/+/16203/9/configure.ac">File configure.ac:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-hlr/+/16203/9/configure.ac@187">Patch Set #9, Line 187:</a> <code style="font-family:monospace,monospace">       contrib/dgsm/Makefile</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">I don't think contrib is the right place for this. […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">The osmo-mslookup-client utility is in src/mslookup. contrib/dgsm/ just has two python examples that use this osmo-mslookup-client utility program.</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/c/osmo-hlr/+/16203/9/src/mslookup/osmo-mslookup-client.c">File src/mslookup/osmo-mslookup-client.c:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-hlr/+/16203/9/src/mslookup/osmo-mslookup-client.c@89">Patch Set #9, Line 89:</a> <code style="font-family:monospace,monospace">"$ osmo-mslookup-client -s /tmp/mslookup -d\n"</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">So the daemon is called client? and a client then connects to it? mindblowing.</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">It is a client really, and it does indeed seem really odd. I thought about this from various angles, in mild disbelief of what weird program I had just written. But after all it does make sense as soon as you want to implement a blocking client. The simpler way is just a cmdline tool returning a string on stdout. The more complex socket way provides a sort of proxy: it returns only those results that match your own query, while allowing many different queries to be handled on the same multicast socket, and without spawning a new process for each and every request.</p><p style="white-space: pre-wrap; word-wrap: break-word;">I guess I should clarify the doc?</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-hlr/+/16203">change 16203</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-hlr/+/16203"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-hlr </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Ie68a5c1db04fb4dff00dc3c774a1162f5b9fabf7 </div>
<div style="display:none"> Gerrit-Change-Number: 16203 </div>
<div style="display:none"> Gerrit-PatchSet: 9 </div>
<div style="display:none"> Gerrit-Owner: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-CC: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Mon, 25 Nov 2019 21:53:21 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Comment-In-Reply-To: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: comment </div>