Re: [twsocket] TSmtpCli autenication

2009-08-06 Thread Wilfried Mestdagh
 Mixed up request types with methods, guess you know what I mean
 nevertheless.

That's ok. Thanks for the help.

---
Rgds, Wilfried [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
http://www.mestdagh.biz

--
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 http://www.overbyte.be


[twsocket] New to ICS, looking for help with TWSocket and TWSocketServer.

2009-08-06 Thread Chesso
I am looking to create a TCP client/server application and I have been told
ICS is the easiest to use (indy is quite easy but no data recieve for client
threw me for a spin).

I cannot find any TCP client example, but the TCP Server example I have been
looking at confuses me a bit as to how it works. There is one TTcpSrvClient
= class(TWSocketClient),
and the comment above states something along the lines of the setup using
this will automatically create new clients as they connect (from what I
understand), but I don't quite
get how this works? I am used to using arrays of things and tracking them in
that fashion.

As I want many clients to connect to a server (and some way of adding
strings and other things to each client as a read/write property, like how
you use Record Arrays for storing username etc), and track/reference
them by some kind of index.

Something like:

Client attempts a connection
Server on connect fires up.
Client has sent username and password
Server checks username and password and sends their index to them if
successfull
Client sends data along with the assigned index
When data is available, internally I now know who wants what and why (using
the index).

I hope this makes sense, any help is greatly appreciated and if any
clarification is necessary let me know.

Also this is not an urgent problem or anything it's only for a personal
project so take your time with a reply :).

-- 
http://www.chri-soft.com
--
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 http://www.overbyte.be


Re: [twsocket] New to ICS, looking for help with TWSocket and TWSocketServer.

2009-08-06 Thread Angus Robertson - Magenta Systems Ltd
 I am looking to create a TCP client/server application and I have 
 been told ICS is the easiest to use 
 I cannot find any TCP client example, but the TCP Server example I 
 have been looking at confuses me a bit as to how it works. 
 Client has sent username and password
 Server checks username and password and sends their index to
 them if uccessfull

You can look at the FTP server and client, which is effectively what you
are trying to implement, but with private commands.  The FTP protocol
allows extra private commands to be implemented, which you might find
easier than starting from scratch. 

Or look at the Magenta Systems IP Log Streaming Component, which is
effectively a high level TCP client/server component that can be
configured as a client or a server, and allows data to be sent between
them.  It's free code with an EXE demo that acts as a client or server or
both at the same time.  It will save you a lot of development for a
custom server. 

http://www.magsys.co.uk/delphi/magics.asp

Angus



--
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 http://www.overbyte.be


Re: [twsocket] New to ICS, looking for help with TWSocket and TWSocketServer.

2009-08-06 Thread Chesso
On Thu, Aug 6, 2009 at 7:35 PM, Angus Robertson - Magenta Systems Ltd 
an...@magsys.co.uk wrote:

  I am looking to create a TCP client/server application and I have
  been told ICS is the easiest to use
  I cannot find any TCP client example, but the TCP Server example I
  have been looking at confuses me a bit as to how it works.
  Client has sent username and password
  Server checks username and password and sends their index to
  them if uccessfull

 You can look at the FTP server and client, which is effectively what you
 are trying to implement, but with private commands.  The FTP protocol
 allows extra private commands to be implemented, which you might find
 easier than starting from scratch.

 Or look at the Magenta Systems IP Log Streaming Component, which is
 effectively a high level TCP client/server component that can be
 configured as a client or a server, and allows data to be sent between
 them.  It's free code with an EXE demo that acts as a client or server or
 both at the same time.  It will save you a lot of development for a
 custom server.

 http://www.magsys.co.uk/delphi/magics.asp

 Angus



For some reason D2007 throws an error which I have to exit the application
through task manager when trying to open the included project, I'll fiddle
around with it though.






 --
 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 http://www.overbyte.be




-- 
http://www.chri-soft.com
--
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 http://www.overbyte.be