Re: [twsocket] Minimum Events Required

2006-08-08 Thread Francois PIETTE
> There is memory loss after accepting a file. Where does the memory loss happend ? Does it happend with the ftp server demo program delivered with ICS ? -- Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] http://www.overbyte.be - Original Messag

[twsocket] Minimum Events Required

2006-08-08 Thread Allan Fernandes
Hi, I use TFTPServer to accept files send by TFtpClient over a LAN network. At the TFTPServer end I just use two events FtpServerP4AnswerToClient and FtpServerAuthenticate There is memory loss after accepting a file. What is the next simplest method to accept a file Can I avoid using Threads

Re: [twsocket] TWSocket Server receives -1 instead ofreceivinghexadecimal values (array)

2006-08-08 Thread Francois Piette
>>> SByteCount := TCPServer.Receive(@SBuffer, SizeOf(SBuffer) - 1); >> You call Receive on the server socket. Wrong. You have to call Receive on >> the client socket. Have a look at TcpSrv sample program. > My client is using the receive method But I want the server to receive the values That'

Re: [twsocket] TWSocket Server receives -1 instead of receivinghexadecimal values (array)

2006-08-08 Thread S S
Hi, My client is using the receive method But I want the server to receive the values May be I could not explain my problem clearly.I want my created server to connect to my created client in this case reader and receive response continously. Moreover the values that the reader sends a

Re: [twsocket] TWSocket Server receives -1 instead of receivinghexadecimal values (array)

2006-08-08 Thread Francois Piette
> SByteCount := TCPServer.Receive(@SBuffer, SizeOf(SBuffer) - 1); You call Receive on the server socket. Wrong. You have to call Receive on the client socket. Have a look at TcpSrv sample program. Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] Aut

[twsocket] TWSocket Server receives -1 instead of receiving hexadecimal values (array)

2006-08-08 Thread S S
Hi all, I am new to delphi.My application needs to act as client and send some commands to create notification channel to the host reader(IP 192.168.100.75/Port 1000, then receive the response from the host reader. But before it sends commands to the host reader,it need to start the serve