05 2019 档案

malloc返回地址的对齐问题
摘要:http://man7.org/linux/man-pages/man3/malloc.3.html RETURN VALUE top 因为占内存最多的变量类型为double和int64,都是8字节。 那么,malloc返回的地址都是8字节对齐的吗? 对于lwip的mem_alloc()也是都是8字 阅读全文

posted @ 2019-05-25 22:22 yanhc 阅读(1310) 评论(0) 推荐(0)

能否不同udp socket绑定到同一IP地址和port
摘要:http://www.softlab.ntua.gr/facilities/documentation/unix/unix-socket-faq/unix-socket-faq-4.html https://social.msdn.microsoft.com/Forums/windowsdeskto 阅读全文

posted @ 2019-05-25 18:50 yanhc 阅读(808) 评论(0) 推荐(0)

导航