Setup. Windows XP/2000 connecting to a device that runs vxworks.

Windows is on and when I turn on the device it connects to windows the first time no problem. If i reset the device, the sequential port number is used to connect to windows. Vxworks starts at 1024 and then I reset it connects at 1025....1026... and so on.

The device tries to connect on the previous ports first but thats when I get TCP duplicate ACKs and then it tries the next port.

Output of the netstat -a command shows the ports connecting on the port i want on the windows box. as shown below... if I reset the device four times this is what i get.
6000:1024
6000:1025
6000:1026
6000:1027 and so on...

Any help would be nice and if anymore info is needed I will try to explain it.