use the following search parameters to narrow your results:
e.g. subreddit:pics site:imgur.com dog
subreddit:pics site:imgur.com dog
advanced search: by author, sub...
~4 users here now
Links:
(EXCELLENT WEBSOCKETS PAGE) Websocket Handshaking - Cuelogic Technologies Pvt. Ltd.
submitted 2 years ago by CANDYASSES from cuelogic.com
view the rest of the comments →
[–]fschmidt 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - 2 years 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 - 2 years ago (3 children)
i get that, but this webpage shows the basic communications protocol,
https://www.cuelogic.com/blog/websocket-handshaking
i am writing my webserver in straight c language using the "codeblocks" programming system.
https://www.codeblocks.org
[–]fschmidt 1 insightful - 2 fun1 insightful - 1 fun2 insightful - 1 fun2 insightful - 2 fun - 2 years 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 - 2 years 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.
btw, my javascript skills are very weak and so if i can figure out how to issue a GET request from javascript that is part of my webpage
oh, i just remembered, isnt there a javascript information site at http://irt.org
i am gonna check.
at the http://irt.org page you can click on "javascript faq" or click here: https://irt.org/script/script.htm
good javascript learning site.
[–]fschmidt 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - 2 years ago (0 children)
Do you want a web client or a web server?
To do a GET request from javascript, use XMLHttpRequest.
view the rest of the comments →
[–]fschmidt 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - (4 children)
[–]CANDYASSES[S] 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - (3 children)
[–]fschmidt 1 insightful - 2 fun1 insightful - 1 fun2 insightful - 1 fun2 insightful - 2 fun - (2 children)
[–]CANDYASSES[S] 1 insightful - 2 fun1 insightful - 1 fun2 insightful - 1 fun2 insightful - 2 fun - (1 child)
[–]fschmidt 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - (0 children)