# wip\_TCPServerCreate problem

**URL:** <https://forum.sierrawireless.com/t/wip-tcpservercreate-problem/4883>\
**Category:** Open AT\
**Created:** [February 10, 2011, 7:46am UTC](https://forum.sierrawireless.com/t/wip-tcpservercreate-problem/4883 "2011-02-10T07:46:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![zafer](https://avatars.discourse-cdn.com/v4/letter/z/439d5e/32.png) [@zafer](https://forum.sierrawireless.com/u/zafer)\
**Post date:** [February 10, 2011, 7:46am UTC](https://forum.sierrawireless.com/t/wip-tcpservercreate-problem/4883/1 "2011-02-10T07:46:42Z")

</div>

Hi,

I use Fastract Supreme 20 modem with R71b firmware on it. It uses WIP Plug-in 4.0.

After establishing GPRS connection, sometimes my wip\_TCPServerCreate function returns NULL. It is rare but annoying. The documantation says it means an error occurs when trying to create server socket. But how can i get the more information about the error? How can i get to know what causes this error?

Thanks.

---

<div class="post-metadata">

**Author:** ![paruthiv](https://avatars.discourse-cdn.com/v4/letter/p/eb8c5e/32.png) [@paruthiv](https://forum.sierrawireless.com/u/paruthiv)\
**Post date:** [February 17, 2011, 5:52am UTC](https://forum.sierrawireless.com/t/wip-tcpservercreate-problem/4883/2 "2011-02-17T05:52:33Z")

</div>

Hi  
Try enabling Debug traces.This would give you more information regarding your error.

Regards  
Paruthiv

---

<div class="post-metadata">

**Author:** ![zafer](https://avatars.discourse-cdn.com/v4/letter/z/439d5e/32.png) [@zafer](https://forum.sierrawireless.com/u/zafer)\
**Post date:** [February 17, 2011, 6:42am UTC](https://forum.sierrawireless.com/t/wip-tcpservercreate-problem/4883/3 "2011-02-17T06:42:56Z")

</div>

The problem is that i dont know how to take traces in DS. My application changes the baudrate to 300 and switches into data mode. I even dont know if it is possible to take trace in 300 baud and data mode.  
I am planning to ask distributor how to take traces basicly in DS & R7.43 firmware. Before i ask him, could you advise me any document to investigate using traces?

---

<div class="post-metadata">

**Author:** ![awneil](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@awneil](https://forum.sierrawireless.com/u/awneil)\
**Post date:** [February 17, 2011, 7:42am UTC](https://forum.sierrawireless.com/t/wip-tcpservercreate-problem/4883/4 "2011-02-17T07:42:52Z")

</div>

You can’t currently do this in DS.  
See: [https://forum.sierrawireless.com/t/data-pass-through-to-physical-com-port-on-the-pc/4881/1](https://forum.sierrawireless.com/t/data-pass-through-to-physical-com-port-on-the-pc/4881/1)

I suggest that you get an IESM plug-in card which gives you access to the USB and UART2 ports - and use one of them for traces.

Alternatively, go back to TMT - best to ask your Distributor about that…
