Hi all,

I seem to be having some problem with WinSock

I can connect to a application that uses Socket when the app loads first time BUT when I try to send some other data down the connection (once the server has completed processing the first data) I get one of the following errors

> 40006
> 40020

Is there a way I can close the complete conection after the information has been transmitted back (as the socket app cloeses the connection)

I am using the following settings

Port 25000 (to send to program and recevie final processing result)
Port 25001 (to recevie status updates to the application (like processing 1 of 109 etc)