# WebsocketPP block update

**URL:** <https://discourse.libcinder.org/t/websocketpp-block-update/252>\
**Category:** CinderBlocks\
**Created:** [September 6, 2016, 12:28pm UTC](https://discourse.libcinder.org/t/websocketpp-block-update/252 "2016-09-06T12:28:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![brucelane](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/brucelane/32/541_2.png) [@brucelane](https://discourse.libcinder.org/u/brucelane)\
**Post date:** [September 6, 2016, 12:28pm UTC](https://discourse.libcinder.org/t/websocketpp-block-update/252/1 "2016-09-06T12:28:25Z")

</div>

Hi embers,

I managed to update [W+K websockets block](https://github.com/wieden-kennedy/Cinder-WebSocketPP), integrating some impovements from [this fork](https://github.com/quinkennedy/Cinder-WebSocketPP/tree/dev) and some code I changed, here is the [resulting block](https://github.com/videodromm/Cinder-WebSocketPP).

It now compiles fine with Visual Studio 2015, I did:

- Renamed _WEBSOCKETPP\_NOEXCEPT\_TOKEN_ to \_NOEXCEPT: allows compiling with VS2015 without error C2694
- Added binary write for client: void WebSocketClient::write(void const \* msg, size\_t len)
- Integrating changes from [https://github.com/quinkennedy/Cinder-WebSocketPP/tree/dev](https://github.com/quinkennedy/Cinder-WebSocketPP/tree/dev)

Let me know if it works for you, then I’ll do a PR.

---

<div class="post-metadata">

**Author:** ![brucelane](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/brucelane/32/541_2.png) [@brucelane](https://discourse.libcinder.org/u/brucelane)\
**Post date:** [November 3, 2016, 3:33am UTC](https://discourse.libcinder.org/t/websocketpp-block-update/252/2 "2016-11-03T03:33:47Z")

</div>

For your information, the PR has been merged  
Thank you @bantherewind !
