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
7from constants import Constants
8from quic import QuicConnection
9
10
11def 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
20if __name__ == '__main__':
21 main()