Hi all,
The size of SO_RCVBUF is 64k via getsockopt() in a gnu linux server. But no
matter what the my_buffer size is and how many bytes the client sends (>
1448):
char my_buffer[4096] = {0};
nread = read(fd, my_buffer, 4096);
always return nread=1448 in one read.
I know I should do a loop to test nread = 0; but the php client can't
properly half-shutdown at its side somehow.
So why 1448 anyway?


TIA

Matt