mail-archives/mono-devel-list/2013-June/040559.html

120 строки
4.9 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<TITLE> [Mono-dev] WCF in Mono client borking negative numbers
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-devel-list%40lists.ximian.com?Subject=Re%3A%20%5BMono-dev%5D%20WCF%20in%20Mono%20client%20borking%20negative%20numbers&In-Reply-To=%3CCACmR%2BBBRxH07Qq76VzesgktojL9qSGr_yy77TxtDkjQCA%3DXQ_g%40mail.gmail.com%3E">
<META NAME="robots" CONTENT="index,nofollow">
<style type="text/css">
pre {
white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */
}
</style>
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="040556.html">
<LINK REL="Next" HREF="040557.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-dev] WCF in Mono client borking negative numbers</H1>
<B>Rodrigo Kumpera</B>
<A HREF="mailto:mono-devel-list%40lists.ximian.com?Subject=Re%3A%20%5BMono-dev%5D%20WCF%20in%20Mono%20client%20borking%20negative%20numbers&In-Reply-To=%3CCACmR%2BBBRxH07Qq76VzesgktojL9qSGr_yy77TxtDkjQCA%3DXQ_g%40mail.gmail.com%3E"
TITLE="[Mono-dev] WCF in Mono client borking negative numbers">kumpera at gmail.com
</A><BR>
<I>Tue Jun 25 15:31:30 UTC 2013</I>
<P><UL>
<LI>Previous message: <A HREF="040556.html">[Mono-dev] WCF in Mono client borking negative numbers
</A></li>
<LI>Next message: <A HREF="040557.html">[Mono-dev] Status of HttpContext.AcceptWebSocketRequest ?
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#40559">[ date ]</a>
<a href="thread.html#40559">[ thread ]</a>
<a href="subject.html#40559">[ subject ]</a>
<a href="author.html#40559">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>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 &lt;<A HREF="http://lists.ximian.com/mailman/listinfo/mono-devel-list">lukastaves at gmail.com</A>&gt; wrote:
&gt;<i> I have a Unity3D client that communicates with a local service through WCF.
</I>&gt;<i> The service is duplex and all communication is in place and working,
</I>&gt;<i> however
</I>&gt;<i> some negative numbers get borked when received.
</I>&gt;<i>
</I>&gt;<i> Bellow is a list that shows subsequent received single precision numbers.
</I>&gt;<i> The stream was increasing 0.5 per second.
</I>&gt;<i>
</I>&gt;<i> -131.5
</I>&gt;<i> -131
</I>&gt;<i> -130.5
</I>&gt;<i> -130
</I>&gt;<i> -129.5
</I>&gt;<i> -129
</I>&gt;<i> -128.5
</I>&gt;<i> 128
</I>&gt;<i> -127.5
</I>&gt;<i> 129
</I>&gt;<i> -126.5
</I>&gt;<i> 130
</I>&gt;<i> -125.5
</I>&gt;<i>
</I>&gt;<i> And so on... It seems that for some numbers instead of receiving the actual
</I>&gt;<i> negative number they get added by 255.
</I>&gt;<i>
</I>&gt;<i> It's not an issue with the service itself, because connecting to the same
</I>&gt;<i> service using a .net client works flawlessly...
</I>&gt;<i>
</I>&gt;<i> Is this a known issue with WCF in mono? Any hint on what i can do to get
</I>&gt;<i> around that?
</I>&gt;<i>
</I>&gt;<i> Thank you!
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i> --
</I>&gt;<i> View this message in context:
</I>&gt;<i> <A HREF="http://mono.1490590.n4.nabble.com/WCF-in-Mono-client-borking-negative-numbers-tp4660022.html">http://mono.1490590.n4.nabble.com/WCF-in-Mono-client-borking-negative-numbers-tp4660022.html</A>
</I>&gt;<i> Sent from the Mono - Dev mailing list archive at Nabble.com.
</I>&gt;<i> _______________________________________________
</I>&gt;<i> Mono-devel-list mailing list
</I>&gt;<i> <A HREF="http://lists.ximian.com/mailman/listinfo/mono-devel-list">Mono-devel-list at lists.ximian.com</A>
</I>&gt;<i> <A HREF="http://lists.ximian.com/mailman/listinfo/mono-devel-list">http://lists.ximian.com/mailman/listinfo/mono-devel-list</A>
</I>&gt;<i>
</I>-------------- next part --------------
An HTML attachment was scrubbed...
URL: &lt;<A HREF="http://lists.ximian.com/pipermail/mono-devel-list/attachments/20130625/a4875e4a/attachment.html">http://lists.ximian.com/pipermail/mono-devel-list/attachments/20130625/a4875e4a/attachment.html</A>&gt;
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="040556.html">[Mono-dev] WCF in Mono client borking negative numbers
</A></li>
<LI>Next message: <A HREF="040557.html">[Mono-dev] Status of HttpContext.AcceptWebSocketRequest ?
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#40559">[ date ]</a>
<a href="thread.html#40559">[ thread ]</a>
<a href="subject.html#40559">[ subject ]</a>
<a href="author.html#40559">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/mono-devel-list">More information about the Mono-devel-list
mailing list</a><br>
</body></html>