How to make a network daemon thread?

I want to make a daemon thread to receive commands from network. Is there a build-in mechanism in Panda to do this task?

Yes and no. There is a server implementation for the DistributedObject system. If you just want to receive general communications, though, you should look into Python’s socket library.

David

If you want to know how to create threads with Panda, check out this manual page:
panda3d.org/manual/index.php/Threading
It’s thin but it explains some basic stuff about how to use threading with Panda.