Chen Zhixiang

Results 16 comments of Chen Zhixiang

I use 2 servers & 2 clients associated with 2 different ports (url), is it the client's `connected to server then "Connection reset by peer"`'s reason?

Try to convert byte[] to Base64 String, then no "Connection reset by error" But client sends 20~30 messages in a short time, server side only receives 1?

I've tried embind's value_array for passing JS Number Array to C++ struct, but the problem is, the legacy JS code's array is not fixed length, so i switch to std::vector,...

The above custom marshalling code can map JS array to C++ side std::vector, but cannot map C++ side std::vector return value to JS array, compile error...

I have similar requirements, and i've found express middleware framework doesn't support full-spec http interceptor concepts, like modifying http response. To be more clear, a middleware, or a http interceptor,...