3 ms·
write() and read() work on a connected socket fd just as they work on a uart. So I don't really understand what the problem here is? Of course you have datagr
by foxfluff 5y ago
write() and read() work on a connected socket fd just as they work on a uart. So I don't really understand what the problem here is?
Of course you have datagram protocols and recvmsg() & co, which are useful precisely when you're dealing with something that does not looks like a uart.