hi,
I am trying to transfer a folder of files using socket. could anyone
help me by providing tips to send and receive. I want the files to be
saved with same file name as sent. anyone help me regarding this,

i am closing the old connection, WSAcleanup and creating new socket and
getting new connection for every file transfer.

at the other end also every time i am accepting the connection before i
receive the files.

Is the procedure i am following is correct & safe or not?

please answer this,

sirisha.