Oddbean new post about | logout
 nostr:npub1upkp7fd7rc3lrjg23r8gy0wc723vze7mxlx5984ut6zurjzpf5xss4tcwy thank you! I'm writing a blog post on how touch events gets delivered to Android apps. It turns out that's done through a socketpair of type SOCK_SEQPACKET (which is apparently a stream with demarcation): https://cs.android.com/android/platform/superproject/+/master:frameworks/native/libs/input/InputTransport.cpp;l=338;drc=0174738c28994b2c710c52cf0ebcfc51013ed833

The whole thing is nonblocking it's quite cool.

So anyway, Android devs might not be familiar with sockets. I'll link to your comic it def helps!