PHP libevent function Basic introduction PHP libevent libevent UDP linux Libevent

Source: Internet
Author: User
Event_base_free () frees the resource, which cannot destroy the binding event
Event_base_loop () Handles events and handles event loops based on the specified base
Event_base_loopbreak () immediately cancels the event loop, with the same behavior for each break statement
Event_base_loopexit () exits the loop after a specified time
Event_base_new () creation and initial events
Event_base_priority_init () Sets the priority of the event
Event_base_set () Associating events to event base
Event_buffer_base_set () Associating cached events to Event_base
Event_buffer_disable () disabling a cached event
Event_buffer_enable () enable a specified cached event
Event_buffer_fd_set () Change the file system description of a cache
Event_buffer_free () releasing cache events
Event_buffer_new () to create a new cache event
Event_buffer_priority_set () Priority setting for cache events
Event_buffer_read () reading data from a cache event
Event_buffer_set_callback () Sets or resets the callback Hansh function to the cached event
Event_buffer_timeout_set () sets the read and write time to timeout for a cached event
Event_buffer_watermark_set setting watermark flags for read and write events
Event_buffer_write () writes data to the cache event
Event_add () Adds an execution event to the specified settings
Event_del () Removing events from the set events
Event_free () empty event handle
Event_new () Create a new event
Event_set () Prepare to add an event in Event_add

'). addclass (' pre-numbering '). Hide (); $ (this). addclass (' has-numbering '). Parent (). append ($numbering); for (i = 1; i <= lines; i++) {$numbering. Append ($ ('
  • '). Text (i)); }; $numbering. FadeIn (1700); }); });

    The above describes the PHP libevent function Basic Introduction, including the libevent aspects of the content, I hope that the PHP tutorial interested in a friend helpful.

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.