(EXCELLENT WEBSOCKETS PAGE) Websocket Handshaking - Cuelogic Technologies Pvt. Ltd.
submitted 1 month ago by CANDYASSES from (cuelogic.com)
[–]fschmidt 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - 1 month ago (4 children)
From what little I know, websockets is a depraved modern protocol designed by depraved modern scum. With old protocols you could see examples of what is sent over the wire, and this is mostly simple clear text. Modern depraved protocols are overcomplicated crap that need a layer of code to deal with. Why couldn't a high level duplex protocol simply send JSON back of forth? If modern programmers weren't depraved scum, then this is what they would do. But since they are depraved scum, everything they design is crap.
[–]CANDYASSES[S] 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - 1 month ago (3 children)
i get that, but this webpage shows the basic communications protocol,
i am writing my webserver in straight c language using the "codeblocks" programming system.
[–]fschmidt 1 insightful - 2 fun1 insightful - 1 fun2 insightful - 1 fun2 insightful - 2 fun - 1 month ago (2 children)
That webpage only shows the transition from HTTP to websockets. It doesn't show any actually websockets communications.
Why are you writing a webserver? You can use my webserver for Java described here.
[–]CANDYASSES[S] 1 insightful - 2 fun1 insightful - 1 fun2 insightful - 1 fun2 insightful - 2 fun - 1 month ago* (1 child)
my purpose for writing a webserver in pure C language is so that i get to formulate my own http requests and i can decide which header information is included.. my preference is to remain brief.
i get to custom engineer a purely customized HTTP PAGE REQUEST and i get to read the RAW RESPONSE.
i get complete control over the entire process.
i am gonna check.
[–]fschmidt 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - 1 month ago (0 children)
Do you want a web client or a web server?
use the following search parameters to narrow your results:
e.g. sub:pics site:imgur.com dog
sub:pics site:imgur.com dog
advanced search: by author, sub...
~0 users here now