Python Forum
Change code from using UDP socket to TCP
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Change code from using UDP socket to TCP
#1
Hello

I want to change this code (https://github.com/c-paras/DistanceVectorProtocol) from UDP to TCP, I start with
socket.SOCK_STREAM
and I no know how to add listen() and accept() and what are the other lines that should be modified ?

My aim is to conserve the interaction with configuration files and using at the same time TCP (by changing also the principle of this protocol)

Thanks a lot
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Code to change LAN Settings MTom5 0 3,453 Aug-12-2018, 09:18 PM
Last Post: MTom5

Forum Jump:

User Panel Messages

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