[Twisted-Python] Strange DataLoosing Problem after some time of connection

Gelin Yan dynamicgl at gmail.com
Wed Nov 6 11:07:56 MST 2013


On Thu, Nov 7, 2013 at 1:31 AM, Toni Rosemann <raketenschnitzel at gmx.de>wrote:

> Hey there,
>
> Setup:
> -i got a Server which is running a Delphi application on Windows7 using
> WinSocketComponents
> -i got a Client (Raspberry Pi) which is running my python client
> application with twisted
> -the server collects data which the client is sending, sometimes the
> server sends back
>
> Problem:
> -the client connects and starts sending, the communication works fine at
> first
> -after some time (rigth now i see no correlation or principle) the server
> won't get any messages anymore, although the client keeps sending (or at
> least the client keeps calling the sendMessage() function
> ->the client is still able to receive messages!
>
> I have no clue whats happening. There is no suspicious behavior nor a
> exception call.
> When i stop the client, the server recognizes a disconnect, but before, no
> disconnect is recognized.
> Has anyone of you an idea or does anyone see a mistake in the design of my
> Factory or Protocol?
> Are there known problems with the combination of python twisted and
> WinSocket of Windows?
>
>

 Have you implemented any acknowledgment in your application?

Regards

gelin yan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20131107/cb6d8a35/attachment-0002.html>


More information about the Twisted-Python mailing list