# Telnet ServerAPI Sample tx\_queue\_create failure

**URL:** <https://forums.digi.com/t/telnet-serverapi-sample-tx-queue-create-failure/5421>\
**Category:** NET+OS\
**Created:** [July 14, 2010, 9:40am UTC](https://forums.digi.com/t/telnet-serverapi-sample-tx-queue-create-failure/5421 "2010-07-14T09:40:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jambun](https://avatars.discourse-cdn.com/v4/letter/j/ce73a5/32.png) [@jambun](https://forums.digi.com/u/jambun)\
**Post date:** [July 14, 2010, 9:40am UTC](https://forums.digi.com/t/telnet-serverapi-sample-tx-queue-create-failure/5421/1 "2010-07-14T09:40:00Z")

</div>

I’m in the process of porting an application that has run on the CC9P9750 platform and NetOS6.1 to the CC9P9360 module and NetOS7.4. Part of the application uses the mailbox structure lifted from the original Telnet Server sample in 6.1. The access to any of the mailboxes failed when the application was ported over to 7.4. On investigation I found that the tx\_queue\_create always returned with the same queue ID no matter how many times it was called. It’s return status is TX\_SUCCESS but the queue is unusable.

I have confirmed that this also happens with the Telnet Server API sample shipped with 7.4 and that the sample also fails when any mailbox is accessed.

Has anybody had this problem and is there a workaround?

Thanks

---

<div class="post-metadata">

**Author:** ![steved2](https://avatars.discourse-cdn.com/v4/letter/s/a698b9/32.png) [@steved2](https://forums.digi.com/u/steved2)\
**Post date:** [July 14, 2010, 7:12pm UTC](https://forums.digi.com/t/telnet-serverapi-sample-tx-queue-create-failure/5421/2 "2010-07-14T19:12:01Z")

</div>

May be some confusion here - you pass a queue ID (actually, a pointer to the queue data block) to tx\_queue\_create - it doesn’t generate them. Maybe the code that generates the queue data block and associated data buffer isn’t working properly.
