# WIP: Contradiction in TCPServer description

**URL:** <https://forum.sierrawireless.com/t/wip-contradiction-in-tcpserver-description/6059>\
**Category:** Documentation feedback\
**Created:** [January 11, 2013, 2:04pm UTC](https://forum.sierrawireless.com/t/wip-contradiction-in-tcpserver-description/6059 "2013-01-11T14:04:25Z")\
**Posts on this page:** 3\
**Page:** 1

<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:** [January 11, 2013, 2:04pm UTC](https://forum.sierrawireless.com/t/wip-contradiction-in-tcpserver-description/6059/1 "2013-01-11T14:04:25Z")

</div>

[quote=“IP Connectivity Development Guide; Internet Library 5.54 (4111845  
Rev 2.0, May 30, 2012)”]  
TCP server sockets … cannot be closed (they have no peer socket) …  
[/quote]  
Then there’s Figure 12, “TCP Server Channel State Diagram”

Then:

> [@](#):
>
> Once the server socket is created, the only direct interaction the user can have with it is by closing it.

Eh??! But it just said that, “TCP server sockets … cannot be closed” ❗😮😕

---

<div class="post-metadata">

**Author:** ![Rex\_alex](https://avatars.discourse-cdn.com/v4/letter/r/73ab20/32.png) [@Rex\_alex](https://forum.sierrawireless.com/u/Rex_alex)\
**Post date:** [January 16, 2013, 10:20am UTC](https://forum.sierrawireless.com/t/wip-contradiction-in-tcpserver-description/6059/2 "2013-01-16T10:20:38Z")

</div>

Hi,

In case of TCP communication,TCp server sockets dont communicate directly to the client request.Server socket spawn a client socket and communicate if a peer client communication request is there.

while creeting TCP server using wip\_TCPServerCreate(),the callback handler receives the events related to TCP client and reacts to events happening to the resulting communication sockets, not to those  
happening to the server socket.

It is something like client to client communication(as TCP sever spawns a client sockets and communicate with remote client socket on any request).And the server does not have its own events .The events received are related to TCP client only

On client request,TCP server spawns a socket,data communication is done between spawned socket and remote socket and server socket remains in listening mode for other requests.

As the server does not directly communicate to the remote client request so once the server is created ,the only way to interact with it is to close the communication channel using wip\_close and cretae the server socket again.

---

<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:** [January 16, 2013, 10:25am UTC](https://forum.sierrawireless.com/t/wip-contradiction-in-tcpserver-description/6059/3 "2013-01-16T10:25:47Z")

</div>

Yes, I understand that - but you agree, then, that the document text is wrong ❓
