[ODE] problem in Calling dsSimulationLoop in loop

Tim Rightnour root at garbled.net
Fri Dec 31 08:33:37 MST 2004


On 28-Dec-2004 Kuldip wrote:
> I am calling dsSimulationLoop from a for loop but when the number of calls
> exceeds 232. It throws follwoing error.

I think dsSimulationLoop creates a new Xwindow ID each time it is called.  You
are probably creating 232 new windows, and then:

> Xlib: Connection to "localhost:10.0" refused by server
> Xlib: Maximum number of clients reached

You hit the server max.  If you look at the examples, they only call
dsSimulationLoop once from main.

---
Tim Rightnour <root at garbled.net>
NetBSD: Free multi-architecture OS http://www.netbsd.org/
Genecys: Open Source 3D MMORPG: http://www.genecys.org/


More information about the ODE mailing list