Parameterize receive buffer size