fix CCConsole crashed on windows, windows use send/recv(winsock) instead of read/write in unix to do socket i/o, create socketWrite/socketRead to wrap socket i/o function
merge upstream/develop
use send/recv to replace write/read
use closeSocket() on windows
remove early cleanup
fix compile on windows
use closesocket insteadof close on windows
Merge remote-tracking branch 'upstream/develop' into fix-console-windows-crash
remove unused declare
replace write() with send()
Merge remote-tracking branch 'upstream/develop' into fix-console-windows-crash
[AUTO] : updating submodule reference to latest autogenerated bindings
Merge pull request #5457 from CocosRobot/updategeneratedsubmodule_1393298076

[AUTO] : updating submodule reference to latest autogenerated bindings
Update CHANGELOG [ci skip]
remove unused declare
Merge pull request #5435 from heliclei/fix-console-windows-crash

closed #4098: Fix console crash on windows.
Update CHANGELOG [ci skip]
More const reference love in EventDispatcher.
Merge pull request #5459 from dumganhar/develop

More const reference loves in EventDispatcher.