norm
norm copied to clipboard
normCast not support dir?
commond args:
id 172042175 send E:\PythonPrj\testFiles100K addr 224.1.2.4/6003 txAddr 10.65.39.191/8002 segment 1400 block 128 parity 4 auto 1 rate 5000000 buffer 50000000 debug 3
stack:
normCast.exe!NormCaster::EnqueueFileObject() Line 608 C++
normCast.exe!NormCaster::SendFiles() Line 559 C++
normCast.exe!main(int argc, char * * argv) Line 1578 C++
error:
normCast error: transmit file path "" exceeds NORM segment size limit!
caused by the follwing line:
https://github.com/USNavalResearchLaboratory/norm/blob/b896f5408fc98b1355041609f0a5d23ca46de2c0/examples/normCast.cpp#L475
Setting the tx_pending_path[0] = '\0' is used to indicate there is no pending transmit file. The TxFilePending() method is checked before EnqueueFileObject() is called when it returns false, EnqueueFileObject() should not be called. So I am not sure how this problem is occurring. I am investigating it further.