my client, after connect() I let it go to a unlimit loop( for(;;); ),
so it will not do anything.
But server after accept(), then select(), read(), it will return:-1, errno:104(ECONNRESET)
Because client does not do anything, so server should block in select(), but it isn't.
Even I reboot both of server computer and client computer, it is the same result.
Does anything I do is wrong? Or why it happen?

Check Solution