stevenlovegrove / MqttDotNet

.net Implementation of the client half of the MQTT messaging protocol. MQTT is a lightweight, open specification publish and subscribe protocol cheifly developed by IBM. Details of MQTT can be found at http://mqtt.org.
MIT License
153 stars 91 forks source link

WP8 SocketEx can not connect #6

Closed alkimake closed 11 years ago

alkimake commented 11 years ago

On Windows Phone 8 SocketEx gets 0 Byte transfer when try to connect >## ReceiveAsync, pending = True =# ReceiveAsync, LastOperation = Receive <## EndRead, BytesTransferred = 0

This issue is not the case when running on Windows 8

Eventually i get this log

4/17/2013 - 2:12:24 PM - [ERROR]System.Exception: Unsupported Message Type at MqttLib.Core.Messages.MessageFactory.CreateMessage(Stream str, Byte header) at MqttLib.Core.StreamManager.listen(IAsyncResult asyncResult)

alkimake commented 11 years ago

This issue can be ignored... The main problem is handling network exceptions before reading socket. I will update code when i have time.

mmischitelli commented 10 years ago

Has this issue been actually solved? I've downloaded the master brach and after integrating the project in my WinPhone8 app I'm still getting the same problem (0 bytes transferred and unsupported message type).