Re: [twsocket] how to send an Image ?

2006-01-10 Thread Francois PIETTE
> I have to send an Image from client side to server side I am using UDP > protocol Why do you want to use UDP ? UDP is by design an unreliable protocol. It means you must implement error detection and correction into your application unless you can live with transmission errors (if you have a

Re: 回覆: Re: [twsocket] ThttpCil Send bufsi ze problem

2006-01-10 Thread Francois PIETTE
I try use TIdhttp it can send with packet 32768 size. That is not possible. Maximum packet size is 1514 bytes on Ethernet it is much less on modem links. You probably confuse the maximum buffer size you may send and the packet size on the network. Totally different things. THttpCli can send

Re: [twsocket] how to send an Image ?

2006-01-10 Thread Wilfried Mestdagh
Hello Persian, Please tell how that you send the data ? You mention 30 KB, and you mention UDP. Do you send it in several packets, and do you number the packets ? Because UDP is not reliable you may have receive the packets in wrong order, or duplicate ones or missing ones. Using UDP you have to t

Re: [twsocket] how to send an Image ?

2006-01-10 Thread Persian Patient
Dear Sir , I have to send an Image that has about 30 KBytes of size and my network is 100MB lan , but when I tried to send an image that has 2 Kbytes of size in server side I received the image but this image can not be show correctly . its looking that the server can not receive the image

[twsocket] Bugreport: Http status error in HttpCli

2006-01-10 Thread Paul
HttpCli does not return a proper status if there is a proxy in between, so there is no way to know if a proxy should be used. Returned error/statuscodes are: ErrCode : 11004 StatusCode = 404 The statuscode should be 305 in this case Paul -- To unsubscribe or change your settings for TWSocket m

Re: [twsocket] IP to host

2006-01-10 Thread Wilfried Mestdagh
Hello Ann, Use ReverseDnsLookup method. OnDnsLookupDone will then fire with the hostname in DnsResult. --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz Tuesday, January 10, 2006, 15:46, Ja wrote: > Hi. > How do i change IP to host (domain) ??

[twsocket] IP to host

2006-01-10 Thread Ja
Hi. How do i change IP to host (domain) ?? Thanx! Ann -- 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

Re: [twsocket] how to send an Image ?

2006-01-10 Thread Wilfried Mestdagh
Hello Persian, > I have an question , have I size limite on wsocket ? The only limit is if you wants to send packets larger than ethernet MTU witch is also the size of TWSocket's send buffer. As far as I know you only have to do it in the sending program. Note that if you sent packets larger t

[twsocket] how to send an Image ?

2006-01-10 Thread Persian Patient
Dear Friends , I have to send an Image from client side to server side I am using UDP protocol , I have to use WSocket in server and client . I have an question , have I size limite on wsocket ? Best Regards, Persian Patient . -