1#include <cx/net/socket.cxh>
2#include <cx/platform/unix.h>
4// send() is a concrete method on the base NetSocket now (its logic is platform-independent; only
5// the syscall lives behind a shim), so this class does not override it -- bind/listen still do,
6// because they touch sockaddr directly.
7class NetSocketPosix extends NetSocket
13 [canfail] factory create(NetSocketType type);
14 factory wrap(int fd, NetSocketType type, NetSocketState state);