Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Jun : Re: Listen to TCP/IP connections on port 6000, and write to a file.
| Subject: | Re: Listen to TCP/IP connections on port 6000, and write to a file. |
| Posted by: | "kwanbis" (kwanb..@yahoo.com) |
| Date: | Thu, 8 Jun 2006 21:59:28 |
ok, i foung out that i had installed Delphi 7 PERSONAL, instead of
enterprise. Thats why the indy demos didn't work. Now i have some demos.
But it's still not clear for me if:
1) should i use indy or use some winsocks coding?
2) if indy, should i use the "basic command handler server" example to
start, or the "basic server", or anything else?
3) if winsocks, any examples?
THANKS.
kwanbis wrote:
> I never before done network programming in delphi, and i need to write a
> very simple "server" application that would listen to port 6000 for
> messages and it would write them to a text file. Apparently i should use
> indy, and specifically, the IdTCPServer component. But the manual is
> really long, and i haven't found any examples. So i would like to know
> if there is some examples i can look at for this. Thanks a lot.