Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Python 

[Question] Multithreaded transfer using single socket?

Assuming that the data transfer occurs at random small intervals in multiple threads, is it common to use the same socket for all threads? And is it a good practice from the perspective of code readability? And good practice in general?
because of how TCP works i think at some point you may reach a bottle neck because of the protocol (not a networking wizard) im not sure, if this is untrue it's fine
g4143 is one of the most experienced C/C++ programmers who has contributed a lot of great stuff in C/C++ programming section. It would be great to see his puzzles in the Python land


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Python] by ghostdeveliteJul 18, 2021 04:21 AM 1 139 Jul 18, 2021 04:21 AM
Last Post: 3phase
[C] by zNinjaApr 9, 2020 09:46 AM 4 131 Apr 9, 2020 09:46 AM
Last Post: zNinja
[C] by dearuxApr 24, 2019 11:02 AM 3 280 Apr 24, 2019 11:02 AM
Last Post: dearux