Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
very fast UDP relaying
#1
i have an application idea which involve a process receiving UDP datagrams, examining header data, deciding where they need to go, and sending them there. it will also be collecting statistics that will influence that decision process. it needs to be as fast as needed to pass the traffic level of 2 or more times broadband speed. i'm tempted to implement this in C. but i would prefer to do this in Python, if it can do the job. to give it the best speed, i intend to avoid any network library, at least for the first try. i am looking for best Python code examples that receive and send UDP after setting up sockets. i'm wanting to look at a possible variety of code examples to see potential good tricks for this. examples that call library functions or methods are worthless to me for this project.
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020