Skip to content

13/13-4shm_talk_server.cpp #4

Description

@Huangcoolbo

书上的else if((sockfd == pipefd) && (events[i].events & EPOLLIN)),pipefd应该不是users[idx].pipefd[1], 应该是users[idx].pipefd[0],

pipe[0]上才能监听EPOLLIN事件

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions