<div><div dir="auto">Okay, thanks for the help, I’ll make sure to ask if I have issues!</div><br><div class="gmail_quote"><div>On Tue, Jan 23, 2018 at 3:52 PM Davide Pesavento <<a href="mailto:davide.pesavento@lip6.fr">davide.pesavento@lip6.fr</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Understood. In that case, yes, you need to write a custom transport,<br>
say FooTransport, as a subclass of Transport. If you need to<br>
communicate with another daemon via a Unix socket for packet<br>
transmission, FooTransport should take care of connecting to that<br>
daemon's socket. Then you need to implement a FooFactory, subclass of<br>
ProtocolFactory. Optionally, only if you need unicast faces, you will<br>
also need a FooChannel.<br>
<br>
Davide<br>
<br>
On Tue, Jan 23, 2018 at 3:39 PM, Anthony Dowling <<a href="mailto:dowlinah@clarkson.edu" target="_blank">dowlinah@clarkson.edu</a>> wrote:<br>
> I'm trying to build a customized transmission system, and at first I had<br>
> thought of using UNIX sockets to communicate with it. However, I saw that<br>
> NFD also supports building custom transports; would that be enough to<br>
> interface to a non-standard device (i.e. a different broadcast medium than<br>
> wifi)?<br>
><br>
> Thanks,<br>
> Anthony<br>
><br>
><br>
> On Tue, Jan 23, 2018 at 3:29 PM, Davide Pesavento <<a href="mailto:davide.pesavento@lip6.fr" target="_blank">davide.pesavento@lip6.fr</a>><br>
> wrote:<br>
>><br>
>> Hi Anthony,<br>
>><br>
>> Outbound Unix sockets don't make sense. It would mean that one NFD<br>
>> instance "connects" to another NFD on the same machine.<br>
>> Can you tell us a bit more about what you're trying to do? What's your<br>
>> use case and why do you need Unix sockets?<br>
>><br>
>> Thanks,<br>
>> Davide<br>
>><br>
>> On Tue, Jan 23, 2018 at 3:01 PM, Anthony Dowling <<a href="mailto:dowlinah@clarkson.edu" target="_blank">dowlinah@clarkson.edu</a>><br>
>> wrote:<br>
>> > Hello all,<br>
>> ><br>
>> > I was trying to connect NFD to a UNIX socket face, and found that UNIX<br>
>> > sockets are inbound only according to the developers guide. Is there a<br>
>> > way<br>
>> > to make it so that there is an outbound UNIX socket from NFD? If not,<br>
>> > where<br>
>> > should I start looking to make one? Also, is there a reason that UNIX<br>
>> > sockets are inbound only?<br>
>> ><br>
>> > Thanks,<br>
>> > Anthony Dowling<br>
>> ><br>
>> > _______________________________________________<br>
>> > Nfd-dev mailing list<br>
>> > <a href="mailto:Nfd-dev@lists.cs.ucla.edu" target="_blank">Nfd-dev@lists.cs.ucla.edu</a><br>
>> > <a href="http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev" rel="noreferrer" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev</a><br>
>> ><br>
><br>
><br>
</blockquote></div></div>