Test code for getting maxsockbuf