The first thing to verify is that it works using WebServ sample program 
provided with ICS. If it works, then the problem is in your code. If the 
sample doesn't work, then you somewhat corrupted your ICS installation or 
has something strange on your system that triggers a bug no one else found.

--
[EMAIL PROTECTED]
http://www.overbyte.be

----- Original Message ----- 
From: "Tom York" <[EMAIL PROTECTED]>
To: "ICS support mailing" <twsocket@elists.org>
Sent: Tuesday, August 16, 2005 6:46 PM
Subject: Re: [twsocket] Httpserver and threads


>I should also add that if I hit refresh, I get very odd results.  Sometimes
> I will get an image, text (jpeg image as text) or a blank page.  Is this a
> socket connection problem (i.e. reuse of socket)?  Francois, keep in mind 
> I
> am by no means an expert to socket communication.
>
> Thanks,
> Tom
>
> ----- Original Message ----- 
> From: "Tom York" <[EMAIL PROTECTED]>
> To: "ICS support mailing" <twsocket@elists.org>
> Sent: Tuesday, August 16, 2005 11:40 AM
> Subject: Re: [twsocket] Httpserver and threads
>
>
>>I can use Windows explorer and look at every image just fine.
>>
>> ----- Original Message ----- 
>> From: "Francois PIETTE" <[EMAIL PROTECTED]>
>> To: "ICS support mailing" <twsocket@elists.org>
>> Sent: Tuesday, August 16, 2005 11:06 AM
>> Subject: Re: [twsocket] Httpserver and threads
>>
>>
>>>> Does my code look okay?
>>>
>>> At first glance, yes. I haven't checked the jpeg stuff. You should save
>>> the
>>> jpeg data into a file, just to check it is displayed ok. Maybe the
>>> garbage
>>> you see is not in the sending but simply in the data !
>>>
>>> --
>>> [EMAIL PROTECTED]
>>> http://www.overbyte.be
>>>
>>>
>>>
>>> ----- Original Message ----- 
>>> From: "Tom York" <[EMAIL PROTECTED]>
>>> To: "ICS support mailing" <twsocket@elists.org>
>>> Sent: Tuesday, August 16, 2005 5:15 PM
>>> Subject: Re: [twsocket] Httpserver and threads
>>>
>>>
>>>>I just downloaded and installed the latest, which I was using to start
>>>>with.
>>>> It still draws garbage, image as text, etc.  Does my code look okay?
>>>>
>>>> Thanks for your assistance, Francois.
>>>>
>>>> ----- Original Message ----- 
>>>> From: "Francois Piette" <[EMAIL PROTECTED]>
>>>> To: "ICS support mailing" <twsocket@elists.org>
>>>> Sent: Tuesday, August 16, 2005 9:56 AM
>>>> Subject: Re: [twsocket] Httpserver and threads
>>>>
>>>>
>>>>>> I do not want multithreading.
>>>>>> I assume that each connection is a thread,  no?
>>>>>
>>>>> No ! ICS is asynchronous and event driven. It doesn't block when a 
>>>>> user
>>>>> is
>>>>> being serviced.
>>>>>
>>>>>> The images are broken, partially displayed, the image is displayed as
>>>>>> text characters.
>>>>>
>>>>> Are you using the latest ICS release downloaded from my website ?
>>>>>
>>>>> --
>>>>> [EMAIL PROTECTED]
>>>>> 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
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> -- 
>>>>> No virus found in this incoming message.
>>>>> Checked by AVG Anti-Virus.
>>>>> Version: 7.0.338 / Virus Database: 267.10.10/73 - Release Date:
>>>>> 8/15/2005
>>>>>
>>>>>
>>>>
>>>> -- 
>>>> 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
>>>
>>> -- 
>>> 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
>>>
>>>
>>>
>>>
>>> -- 
>>> No virus found in this incoming message.
>>> Checked by AVG Anti-Virus.
>>> Version: 7.0.338 / Virus Database: 267.10.10/73 - Release Date: 
>>> 8/15/2005
>>>
>>>
>>
>> -- 
>> 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
>>
>>
>>
>>
>> -- 
>> No virus found in this incoming message.
>> Checked by AVG Anti-Virus.
>> Version: 7.0.338 / Virus Database: 267.10.10/73 - Release Date: 8/15/2005
>>
>>
>
> -- 
> 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 

-- 
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