TypeError sendto() takes 2 or 3 arguments (1 given) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

TypeError sendto() takes 2 or 3 arguments (1 given)

https://code.sololearn.com/cDZES0Cwq58i/?ref=app What's the mistake? Can you prepare code on the example? The purpose of this chat server is between two clients!

7th Jul 2022, 12:25 AM
Bogdan Bogdanov
Bogdan Bogdanov - avatar
4 Answers
0
I just ran the code and the error didn't happen. Could you pls review the issue?
7th Jul 2022, 12:52 AM
Emerson Prado
Emerson Prado - avatar
0
if you run the server, then try to connect via telnet (for example I use telnet), and then send a message to the server (more precisely to another client), a Typerror sendto takes 2 or 3 arguments (1 given)error appears
7th Jul 2022, 1:55 AM
Bogdan Bogdanov
Bogdan Bogdanov - avatar
0
How to send messages others clients, if IP address equal, but port different (the server running on local machine)
7th Jul 2022, 1:57 AM
Bogdan Bogdanov
Bogdan Bogdanov - avatar
0
One server and two clients: first client sending message to second client, but not get him :(
7th Jul 2022, 1:58 AM
Bogdan Bogdanov
Bogdan Bogdanov - avatar