<html>
<head>
<title>flaneth - dartboard mod</title>
<meta http-equiv="pragma" content="no-cache">
</head>
<body>
<h1>UDP interface</h1>
<ul>
<li>send empty UDP datagram to UDP port 501</li>
<li>receive UDP datagrams containing hit field (e.g. 2x25 for double bull)</li>
</ul>
<br><br>
<h1>SOAP interface</h1>
<ul>
<li>URL: http://flaneth-dartboard-mod:80/dart</li>
</ul>
<ul>
<li>
example request:
<pre>
<soap:Envelope
xmlns:soap="http://www.w3.org/2001/12/soap-envelope/"
soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding">
<soap:Body xmlns="http://stefan.blinkenarea.org/flaneth/dartboard-mod/soap">
<GetHit>
<timeout>5</timeout>
</GetHit>
</soap:Body>
</soap:Envelope>
</pre>
timeout: time in seconds to wait for field to be hit<br>
</li>
<li>
example response (double bull):
<pre>
<soap:Envelope
xmlns:soap="http://www.w3.org/2001/12/soap-envelope/"
soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding">
<soap:Body xmlns="http://stefan.blinkenarea.org/flaneth/dartboard-mod/soap">
<GetHitResponse>
<factor>2</factor>
<value>25</value>
</GetHitResponse>
</soap:Body>
</soap:Envelope>
</pre>
factor: 1 for single, 2 for double, 3 for triple<br>
value: value of field that was hit<br>
</li>
<li>