@evelyn :inet.getopts(socket, [:recbuf])the type for the Options argument is different than for setopts