Benoit,

For me it does not works, but maybe I don't use it correctly ?

Old line (work as well) ==>   ' StructV5.version = Short@(Mid$(FlowData, 
IndexHeader + 1, 1) & Mid$(FlowData, IndexHeader, 1)) ' As  Short

Line 188 >>>  StructV5.version = Short@(Swap$(Mid$(FlowData, IndexHeader, 2), 
"0")) ' As  Short


The error that occur:

2014-08-23 15:23:27.128 [(CTaskFlow 0x9d01a5c)] Error: Type mismatch:wanted 
Integer, got String instead    Where: CTaskFlow.NetflowSock_Analyse.188
2014-08-23 15:23:27.130 [(CTaskFlow 0x9d60ca4)] Error: Type mismatch:wanted 
Integer, got String instead    Where: CTaskFlow.NetflowSock_Analyse.188
 

Cordialement,

Olivier Cruilles
EMail: [email protected]
Portable: +01 514 431 2960

Le 23 août 2014 à 11:10, Benoît Minisini <[email protected]> a écrit 
:

> Le 23/08/2014 16:13, Olivier Cruilles a écrit :
>> Hi Benoit,
>> 
>> As discussed by e-mail there is 3 weeks, could you look at this bug or not 
>> because I not able to use this command Swap$ and try if it's much faster 
>> than my actual method with mid$.
>> 
>> For memory, I talk about to serialize/deserialize Netflow UDP flow.
>> 
>> Maybe if you have time to fix the Profiler too when Task are used in a 
>> Gambas program
>> 
>> Thank you in advance
>> 
>> 
>> Cordialement,
>> 
>> Olivier Cruilles
>> 
> 
> Everything should be fixed in revision #6426.
> 
> Regards,
> 
> -- 
> Benoît Minisini
> 
> ------------------------------------------------------------------------------
> Slashdot TV.  
> Video for Nerds.  Stuff that matters.
> http://tv.slashdot.org/
> _______________________________________________
> Gambas-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/gambas-user


------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to