Re: [twsocket] TWSocket and data packet length

2013-02-21 Thread François Piette
> Can the network topology (different switches or hub) give different results about this ? Yes, it can. Jumbo frames must be supported end-to-end. Each device has to support it and be configured for it. -- francois.pie...@overbyte.be Embarcadero MVP http://www.overbyte.be http://francois-piette.

Re: [twsocket] TWSocket and data packet length

2013-02-21 Thread Dod
ists.org [mailto:twsocket-boun...@elists.org] De la part de P-E FS> Envoyé : mercredi 20 février 2013 22:14 FS> À : ICS support mailing FS> Objet : Re: [twsocket] TWSocket and data packet length FS> Hello, FS> In  addition  to François answer, the max packet size is something you ma

Re: [twsocket] TWSocket and data packet length

2013-02-21 Thread Frédéric SCHENCKEL
ologies.fr * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -Message d'origine- De : twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] De la part de P-E Envoyé : mercredi 20 février 2013 22:14 À : ICS support mailing Objet : Re: [twsocket] TWSocket and data packet len

Re: [twsocket] TWSocket and data packet length

2013-02-20 Thread P-E
supp...@cab-technologies.fr FS> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * FS> -Message d'origine- FS> De : twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] De la part de François Piette FS> Envoyé : mercredi 20 février 2013 17:54 FS>

Re: [twsocket] TWSocket and data packet length

2013-02-20 Thread Frédéric SCHENCKEL
: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] De la part de François Piette Envoyé : mercredi 20 février 2013 17:54 À : 'ICS support mailing' Objet : Re: [twsocket] TWSocket and data packet length >I need to send a data packet in one chunck. >Today the datas are spli

Re: [twsocket] TWSocket and data packet length

2013-02-20 Thread François Piette
>I need to send a data packet in one chunck. >Today the datas are splitted in two chunks, one of 1500 (the MTU limit) and another one for the rest. > I'm not able to go over this 1500 limit. I know it's possible because I have another program how does it like this What you ask is to use Jumbo Fram

[twsocket] TWSocket and data packet length

2013-02-20 Thread Frédéric SCHENCKEL
Hello, I need to send a data packet in one chunck. Today the datas are splitted in two chunks, one of 1500 (the MTU limit) and another one for the rest. I'm not able to go over this 1500 limit. I know it's possible because I have another program how does it like this (I don't have the source bu

Re: [twsocket] TWSocket Digest, Vol 507, Issue 5

2013-01-11 Thread Arno Garrels
Markus Humm wrote: > Re: [twsocket] TWSocket Digest, Vol 507, Issue 5 Please use the correct subject when you replay. -- Arno -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at h

Re: [twsocket] TWSocket Digest, Vol 507, Issue 5

2013-01-11 Thread Arno Garrels
Markus Humm wrote: >> Hello! >> >> Using HTTPCLI AsyncGET how main thread wait for the Async to >> download the html code. >> Code relies on input html code. If i sleep the main ui thread it will >> become frozen. >> >> I know how to get HTML with Async via Events but i have no idea how >> progra

Re: [twsocket] TWSocket Digest, Vol 507, Issue 5

2013-01-11 Thread Markus Humm
> > Hello! > > Using HTTPCLI AsyncGET how main thread wait for the Async to download the > html code. > Code relies on input html code. If i sleep the main ui thread it will > become frozen. > > I know how to get HTML with Async via Events but i have no idea how program > it so that Main UI thre

Re: [twsocket] TWSocket in thread in FireMonkey HD app for futurecrossplatform target

2012-10-30 Thread Hoby Smith
> Arno Garrels wrote: > Actually it's simpler than it sounds, if you do not use your own message loop but ICS' method MessageLoop, there's nothing to change for OSX. If you use your own > message loop a few IFDEF's are required, which isn't a big deal and something I'll show in a new demo when I h

Re: [twsocket] TWSocket in thread in FireMonkey HD app for futurecrossplatform target

2012-10-30 Thread Arno Garrels
Arno Garrels wrote: > Hoby Smith wrote: > >> However, being that this thread is in a FireMonkey HD app, I am >> unsure how to proceed. Do all the threading message pump issues >> still apply? > > Yes. In Windows anyway and in Posix there's Window's messaging > emulated (as it's needed to not cha

Re: [twsocket] TWSocket in thread in FireMonkey HD app for future crossplatform target

2012-10-29 Thread Hoby Smith
> Yes. In Windows anyway and in Posix there's Window's messaging emulated (as it's needed to not change ICS' source code too much). In Posix a thread doesn't have to call GetMessage(), > PeekMessage() that's the major difference. > Unfortunately there's not yet a FMX threaded demo available, I'll

Re: [twsocket] TWSocket in thread in FireMonkey HD app for future crossplatform target

2012-10-29 Thread Arno Garrels
Hoby Smith wrote: > However, being that this thread is in a FireMonkey HD app, I am > unsure how to proceed. Do all the threading message pump issues > still apply? Yes. In Windows anyway and in Posix there's Window's messaging emulated (as it's needed to not change ICS' source code too much).

[twsocket] TWSocket in thread in FireMonkey HD app for future cross platform target

2012-10-28 Thread Hoby Smith
Hello. I am building some test FireMonkey HD apps in Dephi/RAD Studio XE3 using ICS that I am hoping will eventually build cross platform to Mac. There are two apps, one is a server and the other a client, and they will exchange some large amounts of data. When they are running on the sa

Re: [twsocket] TWsocket and EStackOverflow

2012-10-25 Thread Matt Minnis
: [twsocket] TWsocket and EStackOverflow On 22-10-2012 19:04, LeNif wrote: > My problem is when I disconnect the socket and I immediately > reconnects, I get an error EStackOverflow And if the reconnect is not "immediately" (you wait more time), the error does not occur? Have you c

Re: [twsocket] TWsocket and EStackOverflow

2012-10-25 Thread RTT
On 22-10-2012 19:04, LeNif wrote: My problem is when I disconnect the socket and I immediately reconnects, I get an error EStackOverflow And if the reconnect is not "immediately" (you wait more time), the error does not occur? Have you checked the stack trace, in that stack overflow condition

Re: [twsocket] TWsocket and EStackOverflow

2012-10-25 Thread François Piette
> I already try, after reading the Wiki, the Shutdown(1) procedure, anyway, the > result is the same. I try close, shutdown, abort ... etc. Make a stripped down version of your application and mail it to me. Be sure to include a complete project with only the code required to reproduce the error

Re: [twsocket] TWsocket and EStackOverflow

2012-10-24 Thread Arno Garrels
LeNif wrote: > I already try, after reading the Wiki, the Shutdown(1) procedure, > anyway, the result is the same. I try close, shutdown, abort ... etc. Try the following: >From the OnSessionClosed event handler post a custom window message and reconnect when that message is handled. -- Arno

Re: [twsocket] TWsocket and EStackOverflow

2012-10-24 Thread LeNif
. Maybe I must use a runtime created socket to solve this behaviour ? Thanks F. LeNif From: François Piette Date: 2012-10-24 21:22 To: 'ICS support mailing' Subject: Re: [twsocket] TWsocket and EStackOverflow You should try using Shutdown instead of closing your end. Shutdown ask the o

Re: [twsocket] TWsocket and EStackOverflow

2012-10-24 Thread François Piette
ssage d'origine- De : twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] De la part de LeNif Envoyé : mercredi 24 octobre 2012 20:29 À : twsocket Objet : Re: [twsocket] TWsocket and EStackOverflow Hello, When I use Wireshark to snif communication, I see that exchange with the device

Re: [twsocket] TWsocket and EStackOverflow

2012-10-24 Thread LeNif
CS support mailing' Subject: Re: [twsocket] TWsocket and EStackOverflow I don't see anything obviously wrong there. Just to be sure, please test one of the sample programs (For example OverbyteIcsClient7.dproj which is close to your own test) delivered with ICS to see if they works OK. I

Re: [twsocket] TWsocket and EStackOverflow

2012-10-24 Thread François Piette
ation. -- francois.pie...@overbyte.be Embarcadero MVP http://www.overbyte.be -Message d'origine- De : twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] De la part de LeNif Envoyé : mercredi 24 octobre 2012 07:55 À : twsocket Objet : Re: [twsocket] TWsocket and EStackOverflow Hello,

Re: [twsocket] TWsocket and EStackOverflow

2012-10-23 Thread François Piette
> Hello, thanks but I already wait for OnsessionClosed befor restarting. "Wait" ? Does this means you don't use the events ? > I post a capture with log info here ... > http://imageshack.us/photo/my-images/844/screenshot47a.png/ Not very interesting... If you have a stack overflow, you probabl

Re: [twsocket] TWsocket and EStackOverflow

2012-10-22 Thread François Piette
> My problem is when I disconnect the socket and I immediately reconnects, I get an error EStackOverflow > I can not find the cause of this error. TWSocket is asynchronous. You must not reconnect before actual disconnection is done. Use OnSessionClosed event to know when disconnection is complete.

[twsocket] TWsocket and EStackOverflow

2012-10-22 Thread LeNif
Hi all, I use TWSocket to interact with an industrial device. I made a simple project for testing. I can connect without problems, send and receive data. Until here all is well! My problem is when I disconnect the socket and I immediately reconnects, I get an error EStackOverflow I can not find

Re: [twsocket] TWSocket Digest, Vol 495, Issue 3

2012-10-21 Thread François Piette
> I can get the attachment file on the IPhone, but as a side effect I get all > embedded images as attachments too at the bootom of the message. Are you able to send such as message using a mail client such as Outlook ? If yes, just have a look at how that message is formatted and change the comp

Re: [twsocket] TWSocket Digest, Vol 495, Issue 3

2012-10-19 Thread Adrian
Hello,   After more investigations I found that if I do the following changes in the ProcessHeader event of THTMLSMTPClient component   procedure TdmEMail_ICS.SynchMailerProcessHeader(Sender: TObject;   HdrLines: TStrings); begin   inherited;   HdrLines.Text := StringReplace(HdrLines.Text, 'type=

[twsocket] Twsocket, Randy left a message for you

2012-09-07 Thread Badoo
Randy left a message for you Only you can see the sender and content of your message, and you can delete it anytime. You can instantly reply using our message exchange system: http://eu1.badoo.com/0291844561/in/tfdutEd4uOA/?lang_id=3&m=21&mid=504ae3d70003005b50d700a44bc80086 If the

Re: [twsocket] TWSocket Digest, Vol 472, Issue 1

2012-04-18 Thread Jon Burnham
Hi Arno You're a star. Thank you so much :-) Kind regards Jon -Original Message- From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On Behalf Of twsocket-requ...@elists.org Sent: 18 April 2012 13:00 To: twsocket@elists.org Subject: TWSocket Digest, Vol 472, Issue 1

Re: [twsocket] TWSocket closing after every transactionwithexternal HTTP server

2012-04-05 Thread robertoschler
lient) and craft the HTTP requests myself, but the external device is definitely acting as an HTTP server. Robert. --- On Thu, 4/5/12, Arno Garrels wrote: > From: Arno Garrels > Subject: Re: [twsocket] TWSocket closing after every transactionwithexternal > HTTP server > To: "I

Re: [twsocket] TWSocket closing after every transactionwithexternal HTTP server

2012-04-05 Thread Arno Garrels
robertoschler wrote: > Hello Arno, > >> Sending the Keep-Alive header line doesn't guarantee a HTTP >> server keeps the connection alive. > > True but in this case the external device is the same for all users. > It's a mobile web cam, same model and same firmware. That's whey I'm > wondering i

Re: [twsocket] TWSocket closing after every transaction withexternal HTTP server

2012-04-05 Thread Dod
ice is the same for all users. It's a mobile web cam, same model and same firmware. That's whey I'm wondering if it's an O/S issue. r> Robert. r> --- On Thu, 4/5/12, Arno Garrels wrote: >> From: Arno Garrels >> Subject: Re: [twsocket] TWSocket closi

Re: [twsocket] TWSocket closing after every transaction withexternal HTTP server

2012-04-05 Thread robertoschler
it's an O/S issue. Robert. --- On Thu, 4/5/12, Arno Garrels wrote: > From: Arno Garrels > Subject: Re: [twsocket] TWSocket closing after every transaction withexternal > HTTP server > To: "ICS support mailing" > Date: Thursday, April 5, 2012, 8:18 AM > robertos

Re: [twsocket] TWSocket closing after every transaction withexternal HTTP server

2012-04-05 Thread Arno Garrels
robertoschler wrote: > I know the socket is closed because the TWSocket OnSessionClosed() > event fires. There are no proxies because the external device is on > the Intranet (same router and network) as the PC. It's a local peer > connection. Sending the Keep-Alive header line doesn't guarante

Re: [twsocket] TWSocket closing after every transaction with external HTTP server

2012-04-05 Thread robertoschler
gt; Subject: Re: [twsocket] TWSocket closing after every transaction with > external HTTP server > To: "ICS support mailing" > Date: Thursday, April 5, 2012, 5:36 AM > Hello, > > How do you now socket has been closed ? have you done some > tcpdump > compare between

Re: [twsocket] TWSocket closing after every transaction with external HTTP server

2012-04-05 Thread Dod
Hello, How do you now socket has been closed ? have you done some tcpdump compare between wroking and non-working system ? May be some users are going out thru a proxy that remove the keep-alive ? regards. r> Hello, r> I have a Delphi 6 application that talks to an external device that acts as

[twsocket] TWSocket closing after every transaction with external HTTP server

2012-04-05 Thread robertoschler
Hello, I have a Delphi 6 application that talks to an external device that acts as an HTTP server. I am using the ICS TWSocket components for this application. I open up a socket to talk to the device and handle the necessary header and body crafting to talk to the server. In other words, I am

Re: [twsocket] TWSocket Digest, Vol 468, Issue 2

2012-03-22 Thread pkappetein
in UPD 4, they changed the RTL, so you need to recompile and install the components again. Perry On Thu, Mar 22, 2012 at 7:47 AM, Simon wrote: Yes i got latest only updated today and still same thing am wondering if its sum thing to do with update 4 as it was working fine before i upd

Re: [twsocket] TWSocket Digest, Vol 468, Issue 2

2012-03-22 Thread Arno Garrels
Simon wrote: > Yes i got latest only updated today and still same thing am wondering > if its sum thing to do with update 4 as it was working fine before i > updated. Please use the correct subject. I use update 4 and don't had/have a problem installing, also you did not answer my questions. --

Re: [twsocket] TWSocket Digest, Vol 468, Issue 2

2012-03-22 Thread Simon
Yes i got latest only updated today and still same thing am wondering if its sum thing to do with update 4 as it was working fine before i updated. maybe need to reinstall delphi and leave update 4 out for now. -Original Message- From: twsocket-requ...@elists.org Sent: Thursday, March

[twsocket] TWSocket and Skype, anyone done that?

2012-01-29 Thread robertoschler
If anybody has used TWSocket to communicate with Skype when sending/receiving Skype audio via a port, please share any tips or problems that you had when doing so. Thanks, Robert -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailm

Re: [twsocket] TWSocket in a tread contest without events

2011-12-13 Thread Arno Garrels
Denis Gottardello wrote: > Is possible to use TWSocket object without events contest? I want to > use a familiar way for me. I like to create a thread for each > connection. Some higher level protocols provide synchronous methods, however the base TWSocket has to be used async. -- Arno Garrels

Re: [twsocket] TWSocket in a tread contest without events

2011-12-13 Thread François Piette
> Is possible to use TWSocket object without events contest? > I want to use a familiar way for me. > I like to create a thread for each connection. Not sure I understand your question! Facts: a) you cannot use TWSocket without using events. b) you can use TWSocket in a thread. There are samples

[twsocket] TWSocket in a tread contest without events

2011-12-13 Thread Denis Gottardello
Is possible to use TWSocket object without events contest? I want to use a familiar way for me. I like to create a thread for each connection. -- Denis Gottardello Sintesi S.r.l. 049.9301135 -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org

Re: [twsocket] TWSocket in thread

2011-11-25 Thread Arno Garrels
Patrick Wong wrote: > Dear all, > > In my application I am using a TWSocket in a working thread for heavy > traffic to/from server. Since there is no window in thread the > TWSocket requires the MessageLoop() to receive events. My approach > is when there is no data to send the TWSocket keeps to

[twsocket] TWSocket in thread

2011-11-25 Thread Patrick Wong
Dear all, In my application I am using a TWSocket in a working thread for heavy traffic to/from server. Since there is no window in thread the TWSocket requires the MessageLoop() to receive events. My approach is when there is no data to send the TWSocket keeps to be looped within the Message

[twsocket] TWSocket Digest, Vol 444, Issue 6

2011-10-06 Thread Karlinchen
Hello, thanks for the answers, it works now!! I was using the wrong version of ICS for Delphi XE2. I must have missed all the previous answers, so sorry for spamming the mailing list. Thanks a lot -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elis

Re: [twsocket] TWSocket Digest, Vol 443, Issue 6

2011-10-06 Thread 日本気象(株) 荒二井 勇
Hello >To which file is explanation of each methods (put, dir, dele, etc.) of >TFtpCli written? They directly matches the FTP specifications: http://www.ietf.org/rfc/rfc959.txt You may also have a look at http://wiki.overbyte.be/wiki/index.php/TFtpClient Thank you for the professor. There

Re: [twsocket] TWSocket Digest, Vol 443, Issue 6

2011-10-03 Thread 日本気象(株) 荒二井 勇
hello On Sun, 02 Oct 2011 12:00:01 + twsocket-requ...@elists.org wrote: > Send TWSocket mailing list submissions to > twsocket@elists.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket > or, via email, se

Re: [twsocket] TWSocket and Unicode

2011-07-26 Thread matrapas
Arno Garrels wrote: > I assume you use Delphi 2009+ Thank you for your example, but I use C++Builder XE... Could you show an example for C++Builder..? If possible. -- matrapas -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman

Re: [twsocket] TWSocket and Unicode

2011-07-26 Thread Arno Garrels
Arno Garrels wrote: > But why on earth would you want to sent UTF-32? UTF-32 were worst case regarding transfer performance, meant was UTF-16 here (just to confuse you a bit ;) -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.o

Re: [twsocket] TWSocket and Unicode

2011-07-26 Thread Arno Garrels
matrapas wrote: > Hello, > > Sorry for my bad English. No problem in this list :) > Thanks for the great component. > I have one question - I can not understand. > > Can I transfer "Unicode" between the components TWSocket and > TWSocketServer? I assume you use Delphi 2009+, if not, things are

[twsocket] TWSocket and Unicode

2011-07-25 Thread matrapas
Hello, Sorry for my bad English. Thanks for the great component. I have one question - I can not understand. Can I transfer "Unicode" between the components TWSocket and TWSocketServer? Does not work. I will be happy example or a link to an example for C++Builder (XE). Thanks. -- matrapas --

Re: [twsocket] TWSocket OnSessionAvailable problem

2011-07-21 Thread Arno Garrels
Arno Garrels wrote: > mfisc...@bfe.tv wrote: >> I tried although the TWSocketServer Component and encountered the >> same problem. >> Same with different Versions of ICS. i have tried with an older >> version and ICS-V6 from overbyte.be with Delphi 2006. >> Maybe i should try with ICS-V7? > > Yes,

Re: [twsocket] TWSocket OnSessionAvailable problem

2011-07-21 Thread Arno Garrels
mfisc...@bfe.tv wrote: > I tried although the TWSocketServer Component and encountered the same > problem. > Same with different Versions of ICS. i have tried with an older > version and ICS-V6 from overbyte.be with Delphi 2006. > Maybe i should try with ICS-V7? Yes, please use ICSv7 and if possib

Re: [twsocket] TWSocket OnSessionAvailable problem

2011-07-21 Thread MFischer
gt; Re: [twsocket] TWSocket OnSessionAvailable problem > Arno Garrels > an: > ICS support mailing > 20.07.2011 18:28 > Gesendet von: > twsocket-boun...@elists.org > > mfisc...@bfe.tv wrote: > > Hi, > > i am using the Standard TWSocket in a Server and round about

Re: [twsocket] TWSocket OnSessionAvailable problem

2011-07-20 Thread MFischer
ket-boun...@elists.org schrieb am 20.07.2011 17:16:30: > Re: [twsocket] TWSocket OnSessionAvailable problem > Wilfried Mestdagh > an: > 'ICS support mailing' > 20.07.2011 17:18 > Gesendet von: > twsocket-boun...@elists.org > > Hi, > > Maybe too many socke

Re: [twsocket] TWSocket OnSessionAvailable problem

2011-07-20 Thread Arno Garrels
mfisc...@bfe.tv wrote: > Hi, > i am using the Standard TWSocket in a Server and round about 30 > Clients in LineMode. After a Client is connected to the Server, the > Client starts immediately to send text messages. After some sort of > filtering the messages are broadcasted to a subset of all conn

Re: [twsocket] TWSocket OnSessionAvailable problem

2011-07-20 Thread Wilfried Mestdagh
t; Namens mfisc...@bfe.tv > Verzonden: woensdag 20 juli 2011 11:44 > Aan: twsocket@elists.org > Onderwerp: [twsocket] TWSocket OnSessionAvailable problem > > > > Hi, > i am using the Standard TWSocket in a Server and round about 30 Clients > in > LineMode. After a

[twsocket] TWSocket OnSessionAvailable problem

2011-07-20 Thread MFischer
Hi, i am using the Standard TWSocket in a Server and round about 30 Clients in LineMode. After a Client is connected to the Server, the Client starts immediately to send text messages. After some sort of filtering the messages are broadcasted to a subset of all connected Clients. If i start the s

Re: [twsocket] TWSocket Digest, Vol 426, Issue 3

2011-06-03 Thread breezesoftware
>How much data do you expect in the buffer? Maybe 1kB or so, is this something that I need to manage? I was thinking that after reading the data via twsocket(sender).ReceiveStr in the tWSocket.onDataAvailable method, the buffer is cleared or overwritten. The app is built with D4 so I believe ICS

Re: [twsocket] TWSocket Digest, Vol 424, Issue 5

2011-05-20 Thread simon
As off 07/03/2011, due to the high volume of emails Simon will no longer be taking any support emails of any form to this email address all support emails will be auto deleted. If you require support for one of our products or websites please e-mail: supp...@psd-designs.com -- To unsubscribe

Re: [twsocket] TWSocket Digest, Vol 424, Issue 4

2011-05-19 Thread simon
As off 07/03/2011, due to the high volume of emails Simon will no longer be taking any support emails of any form to this email address all support emails will be auto deleted. If you require support for one of our products or websites please e-mail: supp...@psd-designs.com -- To unsubscribe

Re: [twsocket] TWsocket connection error 10048

2011-04-13 Thread Francois PIETTE
So This leads me to think that TWSocket is not closing/freeing/de-allocating the LocalPort, such that when I try to reopen the connection a few seconds after I close it, windows raises the 10048 error due to the LocalPort still being allocated Is this the case No, it isn't. But Windows

[twsocket] TWsocket connection error 10048

2011-04-13 Thread RayA @ Ihug
Hi... Quote: >When you don't assign the LocalPort, Windows automatically assign an >available local port. This is usually what is done for connecting to a >remote host. If you have any reason not to do so, just explain why. If I use this code: TheTCPClientSocket->Addr = TCP_ClientAdd

Re: [twsocket] TWsocket connection error 10048

2011-04-13 Thread Francois PIETTE
I have got to the bottom of the Error 10048 This means the port you are trying to use is already used and thus is no more available. It seems that the order in witch you assign values to the TWSocket properties when you want to open a client is important - so now I can open and close the c

[twsocket] TWsocket connection error 10048

2011-04-12 Thread RayA @ Ihug
Hi... I have got to the bottom of the Error 10048 It seems that the order in witch you assign values to the TWSocket properties when you want to open a client is important - so now I can open and close the client heaps of times with out the error 10048 being raised :-) The code I was using l

Re: [twsocket] TWsocket connection error 10048

2011-03-31 Thread Arno Garrels
RayA @ Ihug wrote: > When I call the TWSocket->Connect() for the first time every thing > works perfectly, the connection is made and data can be Rx'ed and > Tx'ed without problems > > then I call TWSocket->Close() > > and a few seconds later I call TWSocket->Connect() >- In the OnSessionCon

Re: [twsocket] TWsocket connection error 10048

2011-03-30 Thread Justin Wright
Try setting the ReuseAddr property to true. This might help. Justin. -Original Message- From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On Behalf Of RayA @ Ihug Sent: Thursday, 31 March 2011 9:35 AM To: twsocket@elists.org Subject: [twsocket] TWsocket connection

[twsocket] TWsocket connection error 10048

2011-03-30 Thread RayA @ Ihug
Hi all... I am running on Windows XP, Embarcadero XE I am using the TWSocket Version:7.47 in Client mode to connect to another PC on my LAN which is also using TWSocket in Listen mode. When I call the TWSocket->Connect() for the first time every thing works perfectly, the connection is mad

Re: [twsocket] TWSocket Digest, Vol 414, Issue 3

2011-03-09 Thread Arno Garrels
si...@psd-designs.com wrote: > As off 07/03/2011, due to the high volume of emails Simon will no > longer be taking any support emails of any form to this email address > all support emails will be auto deleted. Please kill ;) -- Arno Garrels -- To unsubscribe or change your settings for TWSock

Re: [twsocket] TWSocket Digest, Vol 414, Issue 3

2011-03-09 Thread simon
As off 07/03/2011, due to the high volume of emails Simon will no longer be taking any support emails of any form to this email address all support emails will be auto deleted. If you require support for one of our products or websites please e-mail: supp...@psd-designs.com -- To unsubscribe

Re: [twsocket] TWSocket Digest, Vol 414, Issue 2

2011-03-08 Thread simon
As off 07/03/2011, due to the high volume of emails Simon will no longer be taking any support emails of any form to this email address all support emails will be auto deleted. If you require support for one of our products or websites please e-mail: supp...@psd-designs.com -- To unsubscribe

[twsocket] TWSocket new HTTP proxy support strongly improved

2011-02-26 Thread Arno Garrels
Hi, I just checked in a change that improved the built-in HTTP proxy-support of TWSocket. Any feedback is very wellcome, be it positive or negative. Log: TCustomHttpTunnel strongly improved. - Bugfix: Ensure that internally buffered application data is read by the upper layer by posting a fak

Re: [twsocket] TWSocket Buffer

2011-02-08 Thread Angus Robertson - Magenta Systems Ltd
> In previous post some one tell me that ICS version having this > features using zlib (FTP/web server applicatons). but I could not > find the any code snap in ICS version 6 for compression the buffer . Zlib was available in ICS v5. Look at icszlibhigh.pas. Function ZlibCompressStreamEx compr

Re: [twsocket] TWSocket Buffer

2011-02-08 Thread rajesh gupta
Hi, Thanks for help , I will definitly switch to latest versions of both c++ builder and ICS with 2- 4 months . But presently I need urgent help for compression of data and send to socket . Actually I have frequently In memory data (buffer) that I am continuesly sending to the clients . now I wa

Re: [twsocket] TWSocket Buffer

2011-02-08 Thread Francois PIETTE
You should upgrade your C++ Builder 6 to C++ Builder XE. Actually I have currently on my system c++ builder 6 + ICS ver 5 . also having many license of third party component for c++ buider6. Also My lot of project working on that . If I change the version of c++ builder 6 then lot of problem

Re: [twsocket] TWSocket Buffer

2011-02-07 Thread rajesh gupta
Hi, Actually I have currently on my system c++ builder 6 + ICS ver 5 . also having many license of third party component for c++ buider6. Also My lot of project working on that . If I change the version of c++ builder 6 then lot of problem occurs in compiling and linking , upgrading the component

Re: [twsocket] TWSocket Buffer

2011-02-07 Thread Francois PIETTE
I download the OverbyteIcsV6 but could not found any demo for c++ buider6 Not sure why you want ICS-V6. ICS-V7 is current one ! The oldest C++ Builder version supported is 2006. The oldest Delphi version supported is 7. You should upgrade your C++ Builder 6 to C++ Builder XE. There is a new C

Re: [twsocket] TWSocket Buffer

2011-02-07 Thread rajesh gupta
Hi, I download the OverbyteIcsV6 but could not found any demo for c++ buider6 Rajesh On Mon, Feb 7, 2011 at 10:50 PM, Fastream Technologies wrote: > You may need to upgrade to v6-7. It's not difficult at all. > > SZ > On Mon, Feb 7, 2011 at 7:18 PM, rajesh gupta >wrote: > > > Hi, > > > >

Re: [twsocket] TWSocket Buffer

2011-02-07 Thread Fastream Technologies
You may need to upgrade to v6-7. It's not difficult at all. SZ On Mon, Feb 7, 2011 at 7:18 PM, rajesh gupta wrote: > Hi, > > I examine both sample but could not find the required code to compress > the buffer. I am using ICS version 5 > >Rajesh > > On Mon, Feb 7, 2011 at 6:57 PM, Fastream

Re: [twsocket] TWSocket Buffer

2011-02-07 Thread rajesh gupta
Hi, I examine both sample but could not find the required code to compress the buffer. I am using ICS version 5 Rajesh On Mon, Feb 7, 2011 at 6:57 PM, Fastream Technologies wrote: > As I said you need to examine the web/FTP server component code. It is > possible. > > SZ > On Mon, Feb

Re: [twsocket] TWSocket Buffer

2011-02-07 Thread Angus Robertson - Magenta Systems Ltd
> I want to read buffer from files then compress after that > send to client . Is that model possible Yes. But also beware that compression is a blocking operation, during which time the server thread will stall. The worse case is compressing a DVD image of 4 gigs which takes two or more minute

Re: [twsocket] TWSocket Buffer

2011-02-07 Thread Francois PIETTE
I am using your ICS socket componet for c++ builder 6 . I test lot but TWSocket Component not sending the data more than 1460 bytes at a time . what is the maximum size how can use and how??. I guess you are using UDP not TCP. no I am using TCP There is no limit on the size of the data

Re: [twsocket] TWSocket Buffer

2011-02-07 Thread Francois PIETTE
I want to read buffer from files then compress after that send to client . Is that model possible Sure it is. As Angus said, compression is a CPU intensive task, so you'd better have multicore CPU and use multithreading to use multicore. If you have one thousand concurrent user doing

Re: [twsocket] TWSocket Buffer

2011-02-07 Thread Fastream Technologies
As I said you need to examine the web/FTP server component code. It is possible. SZ On Mon, Feb 7, 2011 at 3:05 PM, rajesh gupta wrote: > Thanks > I want to read buffer from files then compress after that send to > client . Is that model possible > > Rajesh > > On Mon, Feb 7, 2011 at 6:0

Re: [twsocket] TWSocket Buffer

2011-02-07 Thread rajesh gupta
Thanks I want to read buffer from files then compress after that send to client . Is that model possible Rajesh On Mon, Feb 7, 2011 at 6:07 PM, Angus Robertson - Magenta Systems Ltd < an...@magsys.co.uk> wrote: > > Ok Thanks for valuable info . Can you tell me is there any method > > i

Re: [twsocket] TWSocket Buffer

2011-02-07 Thread Angus Robertson - Magenta Systems Ltd
> Ok Thanks for valuable info . Can you tell me is there any method > in ICS to compress the data and send to socket Both the ICS FTP and HTTP server include options to compress data sent to clients, but this is done at application layer, not socket layer. You would need to look at the source

Re: [twsocket] TWSocket Buffer

2011-02-07 Thread Fastream Technologies
ICS uses built-in Zlib objs (the default) or external zlib1.dll for the purpose. You will need to examine the web server or FTP server component source to see how the zlib functions should be called. Regards, SZ On Mon, Feb 7, 2011 at 2:18 PM, rajesh gupta wrote: > Ok Thanks for valuable info .

Re: [twsocket] TWSocket Buffer

2011-02-07 Thread rajesh gupta
Ok Thanks for valuable info . Can you tell me is there any method in ICS to compress the data and send to socket Rajesh On Mon, Feb 7, 2011 at 5:38 PM, Fastream Technologies wrote: > If you have 1GB+ RAM, that should be possible. > > Regards, > > SZ > On Mon, Feb 7, 2011 at 1:58 PM, rajesh gupta

Re: [twsocket] TWSocket Buffer

2011-02-07 Thread Fastream Technologies
If you have 1GB+ RAM, that should be possible. Regards, SZ On Mon, Feb 7, 2011 at 1:58 PM, rajesh gupta wrote: > Hi > I have OverbyteIcsV5 just want to handle 1000 client. Is that possibe. > because i have to process 1000 client threads > Rajesh > > On Mon, Feb 7, 2011 at 5:02 PM, Fastream Tech

Re: [twsocket] TWSocket Buffer

2011-02-07 Thread rajesh gupta
Hi I have OverbyteIcsV5 just want to handle 1000 client. Is that possibe. because i have to process 1000 client threads Rajesh On Mon, Feb 7, 2011 at 5:02 PM, Fastream Technologies wrote: > ICSv6 is the same as v7 in using single window per many sockets. For v5, > you > may hit the limit for ma

Re: [twsocket] TWSocket Buffer

2011-02-07 Thread Fastream Technologies
ICSv6 is the same as v7 in using single window per many sockets. For v5, you may hit the limit for maximum number of Window handles per proxess with a few thousand sockets. With v7, we have been able to test up to 60k sockets. It could improve further but as Francois said the 2GB RAM limit for 32-

Re: [twsocket] TWSocket Buffer

2011-02-07 Thread rajesh gupta
>I guess you are using UDP not TCP. no I am using TCP > I have 3gb ram >You need ICS-V7 to support I can not change the version please tell me in current version Rajesh On Mon, Feb 7, 2011 at 4:18 PM, Francois PIETTE wrote: > I am using your ICS socket componet for c++ builder 6 . I t

Re: [twsocket] TWSocket Buffer

2011-02-07 Thread Francois PIETTE
I am using your ICS socket componet for c++ builder 6 . I test lot but TWSocket Component not sending the data more than 1460 bytes at a time . what is the maximum size how can use and how??. I guess you are using UDP not TCP. The maximum size of a UDP datagram TWsoc²ket can send is defined

[twsocket] TWSocket Buffer

2011-02-07 Thread rajesh gupta
Hi, I am using your ICS socket componet for c++ builder 6 . I test lot but TWSocket Component not sending the data more than 1460 bytes at a time . what is the maximum size how can use and how??. also how many max clients it can handle in server mode . I have server 2003 with core to quad cp

Re: [twsocket] TWSocket and Client number

2011-01-18 Thread daniel cc
Hi Angus, You probably only want to send a reboot PC command once... Yes, commands (just few) will be sent real seldom (once or twice in a week). Communication will be made mostly by the client ans server will respond by doing very small things. It is actually faster to use FClientNo as per

Re: [twsocket] TWSocket and Client number

2011-01-18 Thread Angus Robertson - Magenta Systems Ltd
> What is the "MyPeerAddr"? --> Integer? You can work that out yourself, look at what type GetPeerAddr returns. > If you mean a database table, Not necessarily, it can a table in memory, made up of records, which you use to keep track of all clients from which you update your GUI and keep track

Re: [twsocket] TWSocket and Client number

2011-01-18 Thread daniel cc
Hi Angus, I am very much pleased and I thank you very much for trying to help me out. << Sorry, but you really are out of your depth here, you need to understand simple programming first. We can not write your programme for you. Yes, I do have limited knowledge for now but, I am learning all

  1   2   3   4   5   >