I am trying to write some concept software. in basic terms. I want a webdav server based on tcp listener. However I am not looking for someone to write the server, rather return a list of files (based on xml) to the client requesting.
The below example listens on port 8129. I run the product and try a map a drive to http://localhost:8129 in windows. Windows sends the options request, and the server replies with the options xml. Windows then sends a propfind request. According to what i understand about webdav. The application should then return in XML a list of files. I have included the xml, and return it to the windows client that connects. However windows then provides connection error. I do not know what I am doing wrong. I am looking for someone to make it get to the next step. i.e windows should show the file listed in xml. I suspend the format of the reply is incorrect.
i have attached my sample code.