Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (13 sloc) 0.353 kB
-module(test).
-include("emdns.hrl").
-export([test/0]).
test() ->
{_Socket, Pid} = emdns:start(),
emdns:subscribe(Pid, "_http._tcp.local"),
emdns:register_service(Pid, #service{
name="CouchDB._http._tcp.local",
type="_http._tcp.local",
address={127, 0, 0, 1},
port=5984,
server="jdd.local"
}).
Jump to Line
Something went wrong with that request. Please try again.