[DUG] Simple Tcp communication

Kyley Harris Kyley at harrissoftware.com
Thu Sep 23 12:49:05 NZST 2010


Client Sample Sent.. its a basic string communicator client I use for
talking to a service manager. very little code and pretty basic.

On Thu, Sep 23, 2010 at 12:42 PM, Rohit Gupta <rohit at cfl.co.nz> wrote:
> I tried that, but its too high up.  I am connecting to an existing server
> which just wants strings.  Whereas the indy stuff wants commands.
>
> On 23/09/2010 12:32, Jeremy North wrote:
>
> The TIdTCPClient and TIdTCPServer components. Just filter the tool
> palette for "TCP".
>
> Indy most likely has a demo for it as well. Perhaps a "chat" one. It
> seems to be a popular demo for tcp.
>
> On Thu, Sep 23, 2010 at 10:21 AM, Rohit Gupta <rohit at cfl.co.nz> wrote:
>
>  I have used Indy only for mail and ftp so far.  What I need to do is
> open a tcp port and send it a string.
>
> I cant even figure out which component to use, let alone what methods.
> Seems that the whole caboodle is too far up the food chain.  Also with
> so many variations between versions, the stuff I have googled makes no
> sense at all.
>
> I am trying to use D2007, I can use D2010 if required.
>
> Rohit
>
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi at delphi.org.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject:
> unsubscribe
>
>
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi at delphi.org.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at delphi.org.nz
>  with Subject: unsubscribe
>
> __________ Information from ESET NOD32 Antivirus, version of virus signature
> database 5471 (20100922) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
> --
> Regards
>
> Rohit Gupta
> B.E. Elec., M.E., Mem IEEE, Member IET
> Technical Manager
> Computer Fanatics Ltd
>
> Tel 4892280
> Fax 4892290
> Web www.cfl.co.nz
> ________________________________
> This email and any attachments contain information, which is confidential
> and may be subject to legal privilege and copyright. If you are not the
> intended recipient, you must not use, distribute or copy this email or
> attachments. If you have received this in error, please notify us
> immediately by return email and then delete this email and any attachments.
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi at delphi.org.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject:
> unsubscribe
>



-- 
Kyley Harris
Harris Software
+64-21-671-821



More information about the Delphi mailing list