Click here to Skip to main content
15,893,161 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CMFCMenuBar, cleartype? Pin
bob1697211-Apr-11 7:22
bob1697211-Apr-11 7:22 
AnswerRe: CMFCMenuBar, cleartype? Pin
Hans Dietrich11-Apr-11 13:02
mentorHans Dietrich11-Apr-11 13:02 
GeneralRe: CMFCMenuBar, cleartype? Pin
bob1697211-Apr-11 10:25
bob1697211-Apr-11 10:25 
QuestionHow to implement WebSocket Client in C Pin
Parthi_Appu11-Apr-11 1:48
Parthi_Appu11-Apr-11 1:48 
AnswerRe: How to implement WebSocket Client in C PinPopular
«_Superman_»11-Apr-11 2:24
professional«_Superman_»11-Apr-11 2:24 
GeneralRe: How to implement WebSocket Client in C Pin
Parthi_Appu11-Apr-11 20:49
Parthi_Appu11-Apr-11 20:49 
GeneralRe: How to implement WebSocket Client in C Pin
markkuk11-Apr-11 23:26
markkuk11-Apr-11 23:26 
GeneralRe: How to implement WebSocket Client in C Pin
Parthi_Appu12-Apr-11 2:58
Parthi_Appu12-Apr-11 2:58 
Thanks for the reponses.. guess i'm not clear with my question..
I'm clear about the WinSocket APIs.. just need to know the WebSocket Handshake details..
I got the below header from Wikipedia & i want to know what are all the things are variable values in this header?
GET /demo HTTP/1.1
Upgrade: WebSocket
Connection: Upgrade
Host: example.com
Origin: http://example.com
Sec-WebSocket-Key1: 4 @1  46546xW%0l 1 5
Sec-WebSocket-Key2: 12998 5 Y3 1  .P00
 
^n:ds[4U

As far as i know the /demo in first line, Host & Origin will change.. but exactly what will be the values?
Will the values of Key1, Key2 & the last 8 byte values also change?

I have to hit the server which has the format as ws://xxx.xxx.xxx.xxx:8181/websock
Also is it possible to send any extra information in the above handshake header? if so what will be its format?

Thanks Again.



Do your Duty and Don't expect the Result

AnswerRe: How to implement WebSocket Client in C Pin
Indivara12-May-11 19:03
professionalIndivara12-May-11 19:03 
GeneralRe: How to implement WebSocket Client in C Pin
Manu Dhundi12-Dec-11 8:55
Manu Dhundi12-Dec-11 8:55 
QuestionHow can I check if LPCTSTR is empty ? Pin
_Flaviu10-Apr-11 20:57
_Flaviu10-Apr-11 20:57 
AnswerRe: How can I check if LPCTSTR is empty ? Pin
Hans Dietrich10-Apr-11 21:10
mentorHans Dietrich10-Apr-11 21:10 
GeneralRe: How can I check if LPCTSTR is empty ? Pin
_Flaviu10-Apr-11 21:20
_Flaviu10-Apr-11 21:20 
AnswerRe: How can I check if LPCTSTR is empty ? Pin
Rajesh R Subramanian10-Apr-11 21:22
professionalRajesh R Subramanian10-Apr-11 21:22 
AnswerRe: How can I check if LPCTSTR is empty ? Pin
Rob Grainger10-Apr-11 23:44
Rob Grainger10-Apr-11 23:44 
GeneralRe: How can I check if LPCTSTR is empty ? Pin
_Flaviu11-Apr-11 5:45
_Flaviu11-Apr-11 5:45 
GeneralRe: How can I check if LPCTSTR is empty ? Pin
Rob Grainger11-Apr-11 12:55
Rob Grainger11-Apr-11 12:55 
QuestionProblem Showing Enumerated Sound Devices in ComboBox [modified] Pin
Paul Hasler10-Apr-11 16:49
Paul Hasler10-Apr-11 16:49 
AnswerRe: Problem Showing Enumerated Sound Devices in ComboBox Pin
Hans Dietrich10-Apr-11 19:03
mentorHans Dietrich10-Apr-11 19:03 
GeneralRe: Problem Showing Enumerated Sound Devices in ComboBox Pin
Paul Hasler10-Apr-11 20:26
Paul Hasler10-Apr-11 20:26 
GeneralRe: Problem Showing Enumerated Sound Devices in ComboBox Pin
Hans Dietrich10-Apr-11 20:41
mentorHans Dietrich10-Apr-11 20:41 
GeneralRe: Problem Showing Enumerated Sound Devices in ComboBox Pin
Paul Hasler10-Apr-11 21:18
Paul Hasler10-Apr-11 21:18 
GeneralRe: Problem Showing Enumerated Sound Devices in ComboBox Pin
Hans Dietrich10-Apr-11 21:27
mentorHans Dietrich10-Apr-11 21:27 
GeneralRe: Problem Showing Enumerated Sound Devices in ComboBox Pin
Paul Hasler10-Apr-11 22:01
Paul Hasler10-Apr-11 22:01 
GeneralRe: Problem Showing Enumerated Sound Devices in ComboBox Pin
Hans Dietrich10-Apr-11 22:13
mentorHans Dietrich10-Apr-11 22:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.