I’m trying to create TCP socket in replit using C, however the accept() funcion is being randomly accepted by something. I am assuming that this has something to do with replit accepting the socket, however I am not sure. What is happening here?
I have solved this issue. The problem was with webview. When you connect to the internet with replit, by default a webview will open showing your page, this webview was what was triggering the accept() function.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.