3 ms·
I'm not sure you quite understood my point? I'm not claiming that uarts are the end-all, be-all. What I am saying is that, even with the features of 'sockets'
by GeorgeTirebiter 5y ago
I'm not sure you quite understood my point? I'm not claiming that uarts are the end-all, be-all. What I am saying is that, even with the features of 'sockets' e.g. being able to be a 'server', ultimately, when data transmission happens, it's as if you have a virtual uart.
I don't care about the specific uart-level detail here.
- foxfluff 5y agowrite() 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.