I am trying to write a server daemon that will listen to a specific
channel and fork() once it receives a connection, leaving the original
daemon to listen for further connections.
I called OBEX_Init() with the OBEX_FL_KEEPSERVER flag set and on the
event OBEX_EV_ACCEPTHINT, I call OBEX_ServerAccept() before calling
fork(). I continue to call OBEX_HandleInput() for both the original and
new connection. The server forks fine and proceeds to handle the
incoming connection. However the listener does not accept any more
connections and my original handler does not receive any more events.
If I run 'hcidump' on the server machine, it does not seem to receive
Does any one have any idea what the problem could be? Also, does anyone
know of programs that have implemented a similar mechanism using the
Thanks in advance,