I've enclosed modfied versions of the Data Server Client and Server (TCP Listen.vi) and Multiple Connections Client and Server (TCP Create/Wait on Listener.vi's)
Both Servers have a Wait Delay Loop after the TCP Close Connection (Data Server vi's) or TCP Close Listener (Multiple Connections vi's)
If you run through the instructions, you'll see how the port opened with TCP Listen.vi continues to accept TCP Open Connection.vi calls after closed, but the port opened with TCP Create Connection does not.
Looking at this post:
<a href=" http://www.yqcomputer.com/
;message.id=38579&requireLogin=False" target="_blank"> http://www.yqcomputer.com/
I'm guessing that the TCP Listen.vi creates a "phantom listener" that persists after the TCP connection is closed.
This is undesirable behavior for my VI. Fortunately there is a work-around available by using the TCP Create/Wait on Listeners vi's instead and I'll just limit the number of connections to one.
Is this a bug in LabVIEW, a "feature", or am I missing something?