Installing socket.io C++


I try to work with socket.io in C++ but I can't seem to get the example running. First it asked me to convert the project to my visual studio (which is 2015). So I did that. Then it was missing libraries offcourse (boost, websocket++, rapidjson). So I added them to the additional libraries in the project settings. Then it was searching for boost.lib. Boost.lib doesnt exist in the boost library I installed on my pc, so I deleted it from the dependency list. I figured I already included boost, why would it search for a lib that doesn't exist. I ran bjam.exe and b2.exe etc from boost, so if there would be a boost.lib it should be there I guess and it isn't.

I then got this error: <a href="https://msdn.microsoft.com/en-us/library/f6xx1b1z.aspx" rel="nofollow">https://msdn.microsoft.com/en-us/library/f6xx1b1z.aspx</a> So I added msvcrt.lib and msvcmrt.lib to the linker's Additional Dependencies property. Which caused the errors in the included image..

Now all the steps seemed to fix the problems I had, but also create more errors in the process. I do not understand how to run a project like this and I can't find a good explanation of the steps I need to take.

Can anyone explain what I am doing wrong?

<a href="https://github.com/socketio/socket.io-client-cpp" rel="nofollow">https://github.com/socketio/socket.io-client-cpp</a>

That is what I try to run, the included SioChatExample

Thanks for any help in advance!

Current errors..... :( <a href="https://i.stack.imgur.com/fvQbX.jpg" rel="nofollow"><img alt="errors..." class="b-lazy" data-src="https://i.stack.imgur.com/fvQbX.jpg" data-original="https://i.stack.imgur.com/fvQbX.jpg" src="https://etrip.eimg.top/images/2019/05/07/timg.gif" /></a>


i think many errors because of VC++ version. creator of project Socket.io-c++, he used VC++ 11.0 if you use VC++ 14.0 to build it, you will get the error. for suggestion you should use VC++ 12.0

<strong>In cast you want to use prebuilt libraries:</strong>

i myself just try many solutions, goodness i fix all

you can get them here <a href="https://github.com/raksa/SocketIO-cpp-lib" rel="nofollow">Prebuilt-libraries-for-Socket.io-c++</a>

for Visual Studio 2015, what u need are:

<ul><li>install more Visual Studio 2013 (i install Visual Studio 2013 community) to get VC++ 12.0 (prebuilt-lib is built in VC++ 12.0) </li> <li>change your project Platform Toolset to Visaul Studio 2013 (v120)</li> <li>link libraries to your project</li> </ul>

libraries you need are:







include folder of *.h (header of Socket.io-C++) to your project

build and run


  • working with Nested IF statement in excel
  • Omit template arguments when create an instance of template class from another instance of template
  • Check if one value in one column is in another column
  • No error while instantiating abstract class, even though abstract method is not implemented
  • include dlls in visual studio c++ 2008
  • Compress a file with GZipStream while maintaining its meta-data
  • powershell Get-Counter -ComputerName parameter on Windows 7
  • Xamarin MonoAndroid Azure mobile service InsertAsync
  • Exception gevent.hub.LoopExit: LoopExit('This operation would block forever',)
  • netsh acl setting (need alternative method - registry settings?)
  • how to set variables in a php include file?
  • aapt.exe'' finished with non-zero exit value 1
  • Private IP address in reserved subnet range
  • How To Customize ASP.NET Chart Databound To SqlDataSource
  • Enabling DTD support in Sql Server
  • UWP/C# - Issue with AQS and USB Devices
  • How to disable all widgets inside Panel or inside Composite?
  • Tamper-proof configuration files in .NET?
  • Code in Job's Script Block after Start-Process Does not Execute
  • Eloquent paginate function in Slim 3 project using twig
  • SharedPreferences or SQLite Database?
  • Recording logins for password protected directories
  • Installing Hadoop, Java Exception about illegal characters at index 7?
  • Retrieving value from sql ExecuteScalar()
  • RectangularRangeIndicator format like triangular using dojo
  • swift auto completion not working in Xcode6-Beta
  • Cross-Platform Protobuf Serialization
  • Running a C# exe file
  • Jquery - Jquery Wysiwyg return html as a string
  • Revoking OAuth Access Token Results in 404 Not Found
  • Hits per day in Google Big Query
  • -fvisibility=hidden not passed by compiler for Debug builds
  • FormattedException instead of throw new Exception(string.Format(…)) in .NET
  • Exception on Android 4.0 `android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork(StrictMode)`
  • Turn off referential integrity in Derby? is it possible?
  • Linking SubReports Without LinkChild/LinkMaster
  • Add sale price programmatically to product variations
  • XCode 8, some methods disappeared ? ex: layoutAttributesClass() -> AnyClass
  • Unable to use reactive element in my shiny app
  • How do I use LINQ to get all the Items that have a particular SubItem?