I have a VB 6 app that recieves data from another machine. Right now I can recieve data the machine is sending and send back an Ack to the sending machines port number. The issue is I want to use another port number to send the ack to the sending machine. Doing something like this tcpServer.RemotePort = 3000 does not work since I cannot change the remote port number while the connection is open. I tried to close the current connection then open a scond one (second winsock control on the form but when it hits the TCPserver2.Connect statement it fails with "Address already in use" even thuogh I have closed the previous connection.