[Mono-dev] WCF in Mono client borking negative numbers

Rodrigo Kumpera kumpera at gmail.com
Tue Jun 25 15:31:30 UTC 2013


Please file a bug report with a test case so we can figure out how to fix
it.


On Mon, Jun 24, 2013 at 2:25 PM, LukasTaves <lukastaves at gmail.com> wrote:

> I have a Unity3D client that communicates with a local service through WCF.
> The service is duplex and all communication is in place and working,
> however
> some negative numbers get borked when received.
>
> Bellow is a list that shows subsequent received single precision numbers.
> The stream was increasing 0.5 per second.
>
> -131.5
> -131
> -130.5
> -130
> -129.5
> -129
> -128.5
> 128
> -127.5
> 129
> -126.5
> 130
> -125.5
>
> And so on... It seems that for some numbers instead of receiving the actual
> negative number they get added by 255.
>
> It's not an issue with the service itself, because connecting to the same
> service using a .net client works flawlessly...
>
> Is this a known issue with WCF in mono? Any hint on what i can do to get
> around that?
>
> Thank you!
>
>
>
>
>
> --
> View this message in context:
> http://mono.1490590.n4.nabble.com/WCF-in-Mono-client-borking-negative-numbers-tp4660022.html
> Sent from the Mono - Dev mailing list archive at Nabble.com.
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20130625/a4875e4a/attachment.html>


More information about the Mono-devel-list mailing list