Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Jun : Re: Listen to TCP/IP connections on port 6000, and write to a file.

www.cryer.info
Managed Newsgroup Archive

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:"Jamie Dale" (j.da..@turboz.net)
Date:Fri, 9 Jun 2006 14:46:56

Indy makes things much easier as long as you can get it installed
successfully.
Never played with Winsocks so I can't advise. Indy makes the whole sockets
thing a lot easier though.

"kwanbis" <kwanbis@yahoo.com> wrote in message
news:4488c7fa@newsgroups.borland.com...
> 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.

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive