QUIC Protocol Implementation
1.0
A Python implementation of the QUIC (Quick UDP Internet Connections) protocol.
Loading...
Searching...
No Matches
receiver.py
Go to the documentation of this file.
1
"""
2
@file receiver.py
3
@brief Receiver implementation for QUIC protocol.
4
@details Sets up a QUIC connection as a receiver and waits for incoming packets.
5
"""
6
7
from
constants
import
Constants
8
from
quic
import
QuicConnection
9
10
11
def
main
():
12
"""
13
@brief Main function that initializes and runs the receiver.
14
15
@details Creates a QUIC connection and starts listening for packets.
16
"""
17
QuicConnection
(Constants.CONNECTION_ID_RECEIVER, Constants.ADDR_RECEIVER, Constants.ADDR_SENDER).receive_packets()
18
19
20
if
__name__ ==
'__main__'
:
21
main
()
quic.QuicConnection
Definition
quic.py:22
receiver.main
main()
Definition
receiver.py:11
receiver.py
Generated by
1.9.8