Re: [Qemu-devel] [PATCH] net/socket: learn to talk with a unix dgram socket

2019-03-26 Thread Jason Wang
On 2019/3/12 上午1:25, Marc-André Lureau wrote: -net socket has a fd argument, and may be passed pre-opened sockets. TCP sockets use framing. UDP sockets have datagram boundaries. When given a unix dgram socket, it will be able to read from it, but will attempt to send on the dgram_dst, which i

[Qemu-devel] [PATCH] net/socket: learn to talk with a unix dgram socket

2019-03-11 Thread Marc-André Lureau
-net socket has a fd argument, and may be passed pre-opened sockets. TCP sockets use framing. UDP sockets have datagram boundaries. When given a unix dgram socket, it will be able to read from it, but will attempt to send on the dgram_dst, which is unset. The other end will not receive the data.