How to transfer binary files from a C#/websocket server to the client? -


i have tcp server have implemented websocket server communicate client, , works great.

i have requirement send files server client, know can open file , send data browser , receive in onmessage event of websocket, don\t know how create file on client side , how can write received data file.

it seems simple thing don't know how ?

any sample code appreciated.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -