Big upps to Mark, that worked like a champ I knew it was some stupid thing I was overlooking my code and I both thank you. trick was reversing the close order AND resetting
to NULL
Here was the change I did:
bool FTPjunk::SetHandles(char * mode)
{
if(mode == "OPEN") {
hOpenHandle =...
Im really not looking to get into all that, because then everyone tends to critique the way you did your error checking and exception handling and ask why dont you do it my way and why did you do this and that, losing scope of the initial question. Im just trying to keep it simple is all.
Yes I...
Its just pseudo code to give the idea of what im doing.
I dont have the actual code anymore because I rewrote my class to open and close handles as needed inside each method, which is really sloppy but I couldnt get the HANDLE reuse portion to work.
My question is about Handle reuse not the...
Hello all
kindof a noob here but Im having an issue with trying to write a class that allow me to create a method for socket handle reuse but its not working so good I can always create the directory but when I goto write the file I get handle invalid errors, its definately a handle issue Im...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.