free()

[b][red]This message was edited by Gregry2 at 2005-9-30 22:10:19[/red][/b][hr][b][red]This message was edited by Gregry2 at 2005-9-30 22:7:28[/red][/b][hr]is there any way to free only a part of a buffer that is dynamic?

would this work?...it seems stupid...

free(buff[i]), and it'll start from i*sizeof(buff) to the end?erg, that makes no sense though...

Or we just free every single block, one at a time?

i dont wanna have to segment my block...too much work.

thanx

by the way...for a intranet chatting program, which is better, connectionless sockets, or stream sockets?...