Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个服务器进程(C 程序),它对大小约为 70MB 的物理内存进行 mmap,当我通过套接字将整个内存块发送到客户端进程时,我的套接字发送 api 返回成功,但客户端一直在等待消息受到。只有当我发送完整的映射块时才会出现问题。如果我发送的少于那个,那么这个问题永远不会出现