[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: 1743733941479863.jpg (179 KB, 750x881)
179 KB
179 KB JPG
previous: >>108139469

#define __NR_sendto                44
#define __NR_recvfrom 45

https://man7.org/linux/man-pages/man2/sendto.2.html
https://man7.org/linux/man-pages/man2/recvfrom.2.html

more sockets... sockets tomorrow, too.........
i do like send and recv as a pair, though. mostly because they're the same length. for that reason, i often pair out with inp rather than in
anyway, this is effectively just a read/write pair, but with flags

relevant resources:
man man

man syscalls

https://man7.org/linux/man-pages/
https://linux.die.net/man/
https://elixir.bootlin.com/linux/
https://elixir.bootlin.com/musl/
https://elixir.bootlin.com/glibc/
>>
miyuki :))
>>
sockets.... I have nothing to contribute....
>>
>>108145461
same as >>108145949, I got nothing to contribute, but I love your dedication and your posts, OP. thanks for posting these threads daily.
>>
>MSG_CONFIRM
Has anyone ever used this, or is this just an insane micro optimization?
>>
>>108146116
it seems useful primarily for drivers and not most user code



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.