/sockread &bvar support