I think i found the mistake,
the tutorial said " argv[2], strlen(argv[2])+1,"
i wanted to reply a char[] and argv is a **char ..
so I changed strlen(argv[2])+1, to strlen(inputbuffer)+1, and it seemed to be wrong.
Now I changed this to sizeof(inputbuffer)+1 and for some reason this works now..
anyway thanks for readiny my post
the tutorial said " argv[2], strlen(argv[2])+1,"
i wanted to reply a char[] and argv is a **char ..
so I changed strlen(argv[2])+1, to strlen(inputbuffer)+1, and it seemed to be wrong.
Now I changed this to sizeof(inputbuffer)+1 and for some reason this works now..
anyway thanks for readiny my post
