You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Socket methods such as .send expect a bytes object as the data to be sent, not a string object. So in line 13 , c.send(b'Thank you for connecting') bytes is needed.