python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How to know total size of data?
I'm using libevent for creating a small p2p network.
Let's say that I want to send 10,000 bytes buffer from one node to another, due to libevent the max size that can be send in one time is 4,096 byte...
Lukkyz
Votes: 0
Answers: 1
Are event_base_loop and event_base_dispatch thread safe?
Are the event_base_loop()(publisher thread) and event_base_dispatch()(subscriber thread) functions thread safe? Recently I checked my application for any synchronization errors using valgrind's helgri...
Harry
Votes: 0
Answers: 1
PHP8/EventListener - Getting Socket instance from file descriptor
PHP8 has introduced Socket class that replaces old socket resource. Now all socket functions works with the instance of this class.
The 2nd argument of EventListener's constructor (https://www.php.net...
тараканы_простыли
Votes: 0
Answers: 4