On Fri, Apr 18, 2014 at 11:04:09AM -0700, Gurucharan Shetty wrote:
> On Linux, we heavily use --remote=punix:* to listen for
> connections through unix domain sockets. We also use, unix:*
> to connect to a daemon that is listening on unix domain sockets.
> Many times, we create default unix domain sockets for listening
> and many utilities connect to these sockets by default.
> 
> Windows does not have unix domain sockets. So far, we could just use
> ptcp:* and tcp:* for listening and initiating connections respectively.
> The drawback here is that one has to provide a specific TCP port.
> 
> For unit tests, it looks useful to let kernel choose that port.
> As such, we can let that chosen kernel port be stored in the
> file specified with punix:* and unix:*. For this purpose, introduce
> a new [p]windows_[p]stream_class. Since it is just a wrapper around
> [p]tcp_[p]stream_class, add it to stream-tcp.c.
> 
> commit cb54a8c (unixctl: Add support for Windows.) used the above concept
> for only control channel connections (i.e., --unixctl for daemons and its
> interaction with ovs-appctl). This commit adds the same support for
> all unix domain sockets.
> 
> Signed-off-by: Gurucharan Shetty <gshe...@nicira.com>

Acked-by: Ben Pfaff <b...@nicira.com>
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to