Linux server.edchosting.com 4.18.0-553.79.1.lve.el7h.x86_64 #1 SMP Wed Oct 15 16:34:46 UTC 2025 x86_64
LiteSpeed
Server IP : 75.98.162.185 & Your IP : 216.73.216.163
Domains :
Cant Read [ /etc/named.conf ]
User : goons4good
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
lib64 /
python3.6 /
site-packages /
zmq /
devices /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2022-03-29 05:07
__init__.py
576
B
-rw-r--r--
2018-02-10 08:02
basedevice.py
6.93
KB
-rw-r--r--
2018-02-10 08:02
monitoredqueue.cpython-36m-x86_64-linux-gnu.so
60.84
KB
-rwxr-xr-x
2022-03-16 07:01
monitoredqueue.pxd
6.24
KB
-rw-r--r--
2018-02-10 08:02
monitoredqueue.py
1.02
KB
-rw-r--r--
2018-02-10 08:02
monitoredqueuedevice.py
1.95
KB
-rw-r--r--
2018-02-10 08:02
proxydevice.py
2.44
KB
-rw-r--r--
2018-02-10 08:02
Save
Rename
"""pure Python monitored_queue function For use when Cython extension is unavailable (PyPy). Authors ------- * MinRK """ # Copyright (C) PyZMQ Developers # Distributed under the terms of the Modified BSD License. import zmq def _relay(ins, outs, sides, prefix, swap_ids): msg = ins.recv_multipart() if swap_ids: msg[:2] = msg[:2][::-1] outs.send_multipart(msg) sides.send_multipart([prefix] + msg) def monitored_queue(in_socket, out_socket, mon_socket, in_prefix=b'in', out_prefix=b'out'): swap_ids = in_socket.type == zmq.ROUTER and out_socket.type == zmq.ROUTER poller = zmq.Poller() poller.register(in_socket, zmq.POLLIN) poller.register(out_socket, zmq.POLLIN) while True: events = dict(poller.poll()) if in_socket in events: _relay(in_socket, out_socket, mon_socket, in_prefix, swap_ids) if out_socket in events: _relay(out_socket, in_socket, mon_socket, out_prefix, swap_ids) __all__ = ['monitored_queue']