i am developing a webserver in C language, and i want to be able to do what typical websockets do, in that they have an ongoing send/receive thing going on between the server and the client..
why do i need to use the websockets upgrade nonsense? cant i just use plain sockets that opens up a socket to port 80 and then the webserver(which i am writing) just doesnt close the channel and then does two way communications?
yes, i am high on kratom.
[–]iDontShift 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - (1 child)
[–]SubliminalCriminal[S] 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - (0 children)