Open
Description
Currently socket_vmnet spawns a single vmnet_interface
Lines 263 to 272 in f486d47
and takes on the responsibility of flooding all clients with all other clients' packets. This leads to #58.
We should consider an alternative design where the client-server interface is comprised of a file descriptor and metadata that allows the server to create a VM per client. This would remove the need to flood with packets, allow some VMs to be isolated from others, and generally expose the full generality of vmnet with better performance.
We should also move to datagram sockets as part of this redesign as they do not employ a framing protocol that requires 2 read
calls per packet and makes it impossible to use vectorized reads.