Hello
Onsterion,
The webSocket is not a protocol, it works at transport layer and services for TCP ,UDP, etc protocol. And message that transports on the internet must be binary format. I have no idea with the "headers" meaning.
If you want to take extra info to server side. you need to know the server side how to parse the client stream, Or look up the relating document about server expected format.
Socket code examples.
Best regards,
Neil Hu
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to
MSDN Support, feel free to contact MSDNFSF@microsoft.com.