Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • biboumi biboumi
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare
  • Issues 100
    • Issues 100
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • louiz’
  • biboumibiboumi
  • Repository
Switch branch/tag
  • biboumi
  • src
  • xmpp
  • xmpp_component.hpp
Find file BlameHistoryPermalink
  • louiz’'s avatar
    SocketHandlers own the poller and add themself into it only when the socket is created · 5507adbe
    louiz’ authored May 27, 2014
    We want to call socket() with the parameters provided by getaddrinfo, so we
    can’t addd the fd into the poller immediately. We need to wait the
    connection attempt, and then the SocketHandler can call add_socket_handler
    itself, if the connection succeeds, or is in progress.
    5507adbe