WanSou
Member
Hey, i am trying to disconnect a gml client from a node.js server
but whenever i try to disconnect it by using "network_destroy()"
the node.js server crashes and returns
" Error: read ECONNRESET "
Which from my research is because the connection was abruptly disconnected
so... how do i "propely" disconnect the gml client from the node.js server so it doesnt crash ?
note :
i am really new to networking and node.js
so dont expect much from me
ask for any information that you need to solve this issue and i will provide.
here is the full error
but whenever i try to disconnect it by using "network_destroy()"
the node.js server crashes and returns
" Error: read ECONNRESET "
Which from my research is because the connection was abruptly disconnected
so... how do i "propely" disconnect the gml client from the node.js server so it doesnt crash ?
note :
i am really new to networking and node.js
so dont expect much from me
ask for any information that you need to solve this issue and i will provide.
here is the full error