You need to use the TIdTCPClient and TIdTCPServer components.<br><br>There is a nice demo here:<br><br><a href="http://delphi.about.com/od/internetintranet/l/aa012004a.htm">http://delphi.about.com/od/internetintranet/l/aa012004a.htm</a><br>
<br><br><div class="gmail_quote">On Thu, Sep 23, 2010 at 9:53 AM, Kyley Harris <span dir="ltr"><<a href="mailto:Kyley@harrissoftware.com">Kyley@harrissoftware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
i can send you a sample if you want.. its quite simple once you work<br>
out where they hide the details.<br>
<div><div></div><div class="h5"><br>
On Thu, Sep 23, 2010 at 12:21 PM, Rohit Gupta <<a href="mailto:rohit@cfl.co.nz">rohit@cfl.co.nz</a>> wrote:<br>
> I have used Indy only for mail and ftp so far. What I need to do is<br>
> open a tcp port and send it a string.<br>
><br>
> I cant even figure out which component to use, let alone what methods.<br>
> Seems that the whole caboodle is too far up the food chain. Also with<br>
> so many variations between versions, the stuff I have googled makes no<br>
> sense at all.<br>
><br>
> I am trying to use D2007, I can use D2010 if required.<br>
><br>
> Rohit<br>
><br>
> _______________________________________________<br>
> NZ Borland Developers Group - Delphi mailing list<br>
> Post: <a href="mailto:delphi@delphi.org.nz">delphi@delphi.org.nz</a><br>
> Admin: <a href="http://delphi.org.nz/mailman/listinfo/delphi" target="_blank">http://delphi.org.nz/mailman/listinfo/delphi</a><br>
> Unsubscribe: send an email to <a href="mailto:delphi-request@delphi.org.nz">delphi-request@delphi.org.nz</a> with Subject: unsubscribe<br>
><br>
<br>
<br>
<br>
</div></div><font color="#888888">--<br>
Kyley Harris<br>
Harris Software<br>
+64-21-671-821<br>
</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
NZ Borland Developers Group - Delphi mailing list<br>
Post: <a href="mailto:delphi@delphi.org.nz">delphi@delphi.org.nz</a><br>
Admin: <a href="http://delphi.org.nz/mailman/listinfo/delphi" target="_blank">http://delphi.org.nz/mailman/listinfo/delphi</a><br>
Unsubscribe: send an email to <a href="mailto:delphi-request@delphi.org.nz">delphi-request@delphi.org.nz</a> with Subject: unsubscribe<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>Pawel Rewak<br>Practical Programs<br><br>