Skip to main content
Stack Overflow
  1. About
  2. For Teams

Timeline for socket chat room - python 3.7

Current License: CC BY-SA 4.0

Post Revisions

19 events
when toggle format what by license comment
Jun 20, 2020 at 9:12 history edited Community Bot
Commonmark migration
Feb 9, 2019 at 13:08 vote accept Hass786123
Feb 9, 2019 at 13:02 history edited Hass786123 CC BY-SA 4.0
added 202 characters in body; edited tags
Feb 8, 2019 at 20:38 vote accept Hass786123
Feb 9, 2019 at 13:08
Feb 8, 2019 at 20:10 comment added Hass786123 When I go on the client and type something in it doesn't show up and then when i go on the server and press enter then the message shows up
Feb 8, 2019 at 20:04 comment added shariful What is weird? Does it not run? If you look at the code, it's not much different. You need threading for the task you are intended to do. And with threading the structure of the code will change. Try to go through the code and try to understand. Let me know if it does not run. @system123456
Feb 8, 2019 at 19:57 comment added Hass786123 Also could you show me how to do it with my code
Feb 8, 2019 at 19:56 comment added Hass786123 @shariful something is weird with the code could you check over the code please
Feb 8, 2019 at 19:52 comment added shariful I have posted an answer below, please have a look. @system123456
Feb 8, 2019 at 19:51 answer added shariful timeline score: 3
Feb 8, 2019 at 19:49 comment added Hass786123 @shariful Could you show me how to do it please
Feb 8, 2019 at 19:45 comment added shariful You need to create two separate threads for sending and receiving. The way you have written the loop will not work for both way communication simultaneously. Because after sending a message your loop is waiting to receive something.
Feb 8, 2019 at 19:40 review Close votes
Feb 12, 2019 at 0:00
Feb 8, 2019 at 19:39 answer added Vic timeline score: 0
Feb 8, 2019 at 19:34 answer added yaken timeline score: 0
Feb 8, 2019 at 19:34 history edited Hass786123 CC BY-SA 4.0
edited title
Feb 8, 2019 at 19:31 comment added Hass786123 @JohnnyMopp I have looked at google but I just don't get how to put it into my code
Feb 8, 2019 at 19:25 comment added 001 You should try Google first. You're more likely to get more in-depth answers. google.com/search?q=python+chat+program+example
Feb 8, 2019 at 19:21 history asked Hass786123 CC BY-SA 4.0
toggle format

AltStyle によって変換されたページ (->オリジナル) /