norm icon indicating copy to clipboard operation
norm copied to clipboard

normCast not support dir?

Open honglei opened this issue 1 year ago • 3 comments

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!

honglei avatar Sep 09 '22 08:09 honglei

caused by the follwing line:

https://github.com/USNavalResearchLaboratory/norm/blob/b896f5408fc98b1355041609f0a5d23ca46de2c0/examples/normCast.cpp#L475

honglei avatar Sep 09 '22 10:09 honglei

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.

bebopagogo avatar Sep 10 '22 22:09 bebopagogo