how would i go about doing that, would it be something like this
void clearc(char *_s1, unsigned int sz)
{
memset(_s1, 0, sz);
}
or something else
Type: Posts; User: dspboss
how would i go about doing that, would it be something like this
void clearc(char *_s1, unsigned int sz)
{
memset(_s1, 0, sz);
}
or something else
i have windows xp sp2 and i was made a server and a client but when i send a message to the server it only get 4bytes at a time and its real annoying.
client code(s)
kernel.cpp
#include...
I was trying to make a p2p app and wanted to know how to loaded part of a file into a buffer then send it, since u cant send it all at once. like make packets.
to think of it if you know some good file i/o website post them thanks :)
thanks guys and you are right i need more practice with file i/o
i tryed that already
i need help with this program , all it does is stream one file to an output file but it doesnt sound right when it is finish. can someone review this code and help me.
#include <iostream>...