Re: [twsocket] newb using TWSocket for the first time

2007-09-26 Thread David Perkins
ICS] > http://www.overbyte.be/eng/overbyte/teamics.html > http://www.mestdagh.biz > > Wednesday, September 26, 2007, 16:19, David Perkins wrote: > > > I now suspect that the data is only being sent once. > > > When I receive a certain packet I pop up a messagebox ask

Re: [twsocket] newb using TWSocket for the first time

2007-09-26 Thread David Perkins
I now suspect that the data is only being sent once. When I receive a certain packet I pop up a messagebox asking the user a question and I suspect it is this that is causing the packet to be repeated since it is ultimately being displayed by a call from the OnDataAvailable event. How may this be

Re: [twsocket] newb using TWSocket for the first time

2007-09-26 Thread David Perkins
Thanks Wilfried The app uses a main form with some buttons for the user to log in and send packets, but there is no additional message pumping going on. It only happens on one particular packet type they send so I'm hoping it's them On 26/09/2007, Wilfried Mestdagh <[EMAIL PROTECTED]> wrote: >

[twsocket] newb using TWSocket for the first time

2007-09-26 Thread David Perkins
Hello I am trying to use TWSocket to talk to a third-party server app that will send smallish XML messages back and forth. I'm using LineMode with LineEnd = "\n" and have set Multithreaded to true. I read the packets in the OnDataAvailable event where I use a 10kb buffer which I zero before rea

[twsocket] FTP Server - detecting when a new file has been uploaded

2007-09-20 Thread David Perkins
Hello I'm using ICS v5 to create an FTP server and wondered what is the preferred method of detecting when a new file has been uploaded? From what I can see, it's a combination of using OnValidatePut and OnStorSessionClosed. Thanks David -- To unsubscribe or change your settings for TWSocket ma

Re: [twsocket] FTP Server demo fails

2007-09-20 Thread David Perkins
Thank you Francois. What's the state of v6, are people using it in production apps? Has v6 changed the requirement for a NOFORMS message pump at all? On 20/09/2007, Francois Piette <[EMAIL PROTECTED]> wrote: > > But am I corret in thinking it is only defined when I > > recompile the ICS compone

Re: [twsocket] FTP Server demo fails

2007-09-20 Thread David Perkins
to get the FTP Server to process any > > requests? > > > > Many thanks. > > > > > > On 20/09/2007, Arno Garrels <[EMAIL PROTECTED]> wrote: > >> David Perkins wrote: > >> > >>> 1. I plan on using the FTP server in a Service app

Re: [twsocket] FTP Server demo fails

2007-09-20 Thread David Perkins
minate event is received. If I create an FTP Server in this thread, what would I have to call to get the FTP Server to process any requests? Many thanks. On 20/09/2007, Arno Garrels <[EMAIL PROTECTED]> wrote: > David Perkins wrote: > > > 1. I plan on using the FTP server i

Re: [twsocket] FTP Server demo fails

2007-09-20 Thread David Perkins
> 1. You need to define NOFORMS in package and project options for this. Thanks. Can I clarify please: Do I define NOFORMS in the ICS package and then recompile, or just in my project? -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/l

Re: [twsocket] FTP Server demo fails

2007-09-20 Thread David Perkins
trace into the Pascal source for some reason. > > > > Add the component source code to your application project. You'll be > > able to > > débug. > > > > -- > > [EMAIL PROTECTED] > > The author of the freeware multi-tier middleware MidWare &g

[twsocket] FTP Server demo fails

2007-09-19 Thread David Perkins
Hello I'm using the latest ICS and BCB2006 to test the ftp server demo. When attempting to connect to the server from another PC using filezilla it throws an exception in the OnAuthenticate event. I've narrowed it down and here is what makes it go pop: void __fastcall TFtpServerForm::FtpServer1A