The solution could be use a thread to manage winsock messages and a 
thread to elaborate received data. So DataAvailable do nothing.
What do you think about it?

Francois PIETTE ha scritto:
> You simply have to rewrite winsock or at least the TCP part :-)
> --
> http://www.overbyte.be
> ----- Original Message ----- 
> From: "emanuele bizzarri" <[EMAIL PROTECTED]>
> To: "ICS support mailing" <twsocket@elists.org>
> Sent: Tuesday, June 27, 2006 6:25 PM
> Subject: Re: [twsocket] ZeroWindow
>> Hi Francois,
>> yes, it refer to TCP flow control.
>> During TCP transmission, the receiver sends acknoledge packets  to the
>> transmitter specifying the Usable Window Size as amount of data he can
>> accept.
>> If Usable Window Size goes to 0 the transmission stops.
>> In my application, this condition is verified when the receiver is not
>> able to process data immediately.
>> Usable Windows Size is progressively reduced until 0.
>> I'd like to stop transmission when this event occours.
>> How can I do to limit transission bitrate if speed is to high?
>> Thanks,
>> Emanuele Bizzarri
>> Francois PIETTE ha scritto:
>>>> Is it possible to detect TCP ZeroWindow by twsocket in order to stop
>>>> transmission?
>>> I don't know what "TCP zero window" is, but I'm almost sure you can't do
>>> anything with it using ICS.
>>> Note that if this refer to TCP flow control, you have nothing to doto 
>>> stop
>>> transmission, it is automatically done by winsock.
>>> --
>>> http://www.overbyte.be
>> -
>> -- 
>> To unsubscribe or change your settings for TWSocket mailing list
>> please goto http://www.elists.org/mailman/listinfo/twsocket
>> Visit our website at http://www.overbyte.be 

Ing. Emanuele Bizzarri
Software Development Department
E-Works s.r.l.
Direzionale 70 - Via Giardini 456/c
41100 Modena - Italy 
tel. +39 059 2929081
fax +39 059 2925035
e-mail: [EMAIL PROTECTED] - http://www.e-works.it
La presente comunicazione, che potrebbe contenere informazioni riservate e/o 
protette da segreto professionale, è indirizzata esclusivamente ai destinatari 
della medesima qui indicati. Le opinioni, le conclusioni e le altre 
informazioni qui contenute, che non siano relative alla nostra attività 
caratteristica, devono essere considerate come non inviate né avvalorate da 
noi. Tutti i pareri e le informazioni qui contenuti sono soggetti ai termini ed 
alle condizioni previsti dagli accordi che regolano il nostro rapporto con il 
cliente. Nel caso in cui abbiate ricevuto per errore la presente comunicazione, 
vogliate cortesemente darcene immediata notizia, rispondendo a questo stesso 
indirizzo di e-mail, e poi procedere alla cancellazione di questo messaggio dal 
Vostro sistema. E' strettamente proibito e potrebbe essere fonte di violazione 
di legge qualsiasi uso, comunicazione, copia o diffusione dei contenuti di 
questa comunicazione da parte di chi la abbia ricevuta per errore o in 
violazione degli scopi della presente. 
This communication, that may contain confidential and/or legally privileged 
information, is intended solely for the use of the intended addressees. 
Opinions, conclusions and other information contained in this message, that do 
not relate to the official business of this firm, shall be considered as not 
given or endorsed by it. Every opinion or advice contained in this 
communication is subject to the terms and conditions provided by the agreement 
governing the engagement with such a client. If you have received this 
communication in error, please notify us immediately by responding to this 
email and then delete it from your system. Any use, disclosure, copying or 
distribution of the contents of this communication by a not-intended recipient 
or in violation of the purposes of this communication is strictly prohibited 
and may be unlawful.

To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to