Ask coding questions

← Back to all posts
Sockets in Python
[deleted]

How can I use socket.socket() on repl.it to have a live connection between server and clients? I wasn't able to find any way that worked on repl.it. Anybody have a code sample I can go off of?

Comments
hotnewtop
Random375 (0)

I know its a bit late, but if anyone is looking for an answer I found a helpful answer at https://replit.com/talk/learn/Creating-A-Simple-Python-Socket-Server/16426

[deleted]

@Vandesm14 I'm wondering how to use the library to set up a socket server. All the traditional ways aren't working on repl.it.

Vandesm14 (2642)

@xMikee All I can suggest is to report this to https://repl.it/bugs as I do not know enough of python to help out with this issue.