插座传输问题 [英] socket transmission problem

查看:59
本文介绍了插座传输问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,


当我发送此字节时B4 43 71 40 A0 81 F3 32 C0 80使用socket.Send()

接收方收到此信息字节3F 43 71 40 3F 3F 3F 32 3F 3F

为什么?????

Hello,

when I send this bytes B4 43 71 40 A0 81 F3 32 C0 80 using socket.Send()
the receiver receives this bytes 3F 43 71 40 3F 3F 3F 32 3F 3F
why?????

推荐答案

你能否请出示一些代码,所以我们可以帮忙吗?


问候,

-

AngelJ.HernándezM。

MCSD.NET
********** @ hotmail.com
http://groups.msn.com/desarrolladoresmiranda

" Dirk Reske" < _F ******* @ gmx.net> escribióenel mensaje

新闻:eI ************** @ TK2MSFTNGP10.phx.gbl ...
Could you please show some code so we can help?

Regards,
--
Angel J. Hernández M.
MCSD.NET
an**********@hotmail.com
http://groups.msn.com/desarrolladoresmiranda
"Dirk Reske" <_F*******@gmx.net> escribió en el mensaje
news:eI**************@TK2MSFTNGP10.phx.gbl...
你好,

当我发送这个字节时B4 43 71 40 A0 81 F3 32 C0 80使用socket.Send()
接收器收到这个字节3F 43 71 40 3F 3F 3F 32 3F 3F
为什么?????
Hello,

when I send this bytes B4 43 71 40 A0 81 F3 32 C0 80 using socket.Send()
the receiver receives this bytes 3F 43 71 40 3F 3F 3F 32 3F 3F
why?????



字节数组是计算的结果。

然后我通过套接字发送它。发送(byte [])

接收方使用socket.receive()接收它。


但收到的字节是其他的,然后是发送的!


" AngelJ.Hernández" <一个********** @ hotmail.com> schrieb im Newsbeitrag

新闻:uC ************** @ TK2MSFTNGP15.phx.gbl ...
the byte array is the result of a calculation.
then I send it through socket.Send(byte[])
the receiver receive it by using socket.receive()

but the received bytes are others then the sent!

"Angel J. Hernández" <an**********@hotmail.com> schrieb im Newsbeitrag
news:uC**************@TK2MSFTNGP15.phx.gbl...
你能否展示一些代码,所以我们可以帮忙吗?

问候,

-
AngelJ.HernándezM。
MCSD.NET
********** @ hotmail.com
http://groups.msn.com/desarrolladoresmiranda

" Dirk Reske" < _F ******* @ gmx.net> escribióenel mensaje
新闻:eI ************** @ TK2MSFTNGP10.phx.gbl ...
Could you please show some code so we can help?

Regards,
--
Angel J. Hernández M.
MCSD.NET
an**********@hotmail.com
http://groups.msn.com/desarrolladoresmiranda
"Dirk Reske" <_F*******@gmx.net> escribió en el mensaje
news:eI**************@TK2MSFTNGP10.phx.gbl...
你好,

当我发送这个字节时B4 43 71 40 A0 81 F3 32 C0 80使用socket.Send()
接收器收到这个字节3F 43 71 40 3F 3F 3F 32 3F 3F
为什么??? ??
Hello,

when I send this bytes B4 43 71 40 A0 81 F3 32 C0 80 using socket.Send()
the receiver receives this bytes 3F 43 71 40 3F 3F 3F 32 3F 3F
why?????




显示所有相关代码
show all relevant code


这篇关于插座传输问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆