X
xyz
hi all, i have a small question !! for example
ifstream filein(par("fileName"));
i have 3 clients taking three different input files which are of
different sizes. My 3 clients share the same
function to open the file and reading line by line.. my problem is i
need to ...to finish my simulation after i read the whole 3 files
completely
with filein.eof() , if at certain time my event is at module client
1...it checkes whether the file is at end then if yes simulation is
terminated othewise continues.....if simulation is terminated , i am
loosing remaining lines in client 2 and client 3's input files...
how to resolve this issue
thanks to all
ifstream filein(par("fileName"));
i have 3 clients taking three different input files which are of
different sizes. My 3 clients share the same
function to open the file and reading line by line.. my problem is i
need to ...to finish my simulation after i read the whole 3 files
completely
with filein.eof() , if at certain time my event is at module client
1...it checkes whether the file is at end then if yes simulation is
terminated othewise continues.....if simulation is terminated , i am
loosing remaining lines in client 2 and client 3's input files...
how to resolve this issue
thanks to all