On Wed, 14 Nov 2001 [EMAIL PROTECTED] wrote:
> Dear members, > How do you make the Linux box ready to listen on say ports 9888 > and 4000 for tcp-based client programs ? You will need a server/program that will service connections to that particular port. You might have to write the server if it has some custom functionality that is not available elsewhere. The specifics of writing the server is best obtained from a book on network programming. Unix Network Programming by Richard Stevens is a good book. > I gather that you have to edit the /etc/services , > But , this is how the file looks : > > telnet 23/tcp #___ > 9888/tcp #This is my entry > > What can I give as the first field ? a.out or bash ? 'myprotocol' for example. It is just a string. Actually, this string needs to be unique within /etc/services. This is a symbolic name for the particular port (in your case port 9888/tcp) _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
