Hi, The attached patch (against 2.6.6) provides dynamic channel allocation for RFComm listening sockets. This means that you can bind to channel #0 and the kernel will allocate a channel for you when you call listen() on it. Retrieve the allocated channel number via getsockname(). The only query I have is what to return if there are no free channels. Is ENOMEM right? Steve -- Stephen Crane, Rococo Software Ltd. http://www.rococosoft.com steve.crane@rococosoft.com +353-1-6601315 (ext 209)