Networking Forums

Networking Forums > Computer Networking > Linux Networking > Listening on many ports on Linux

Reply
Thread Tools Display Modes

Listening on many ports on Linux

 
 
mowaiskhan@gmail.com
Guest
Posts: n/a

 
      11-06-2007, 05:30 PM
Hello,
I've implemented an Inetd type daemon in C++ language using Linux
native Socket APIs.It can listen on multiple ports and fork a process
which takes over connection just like Inetd.
I want to ask if i make this daemon to listen on fourty(40) thousand
ports.What are the Pros and Cons of this approach? Thanks.
Regards,
Owais.

 
Reply With Quote
 
 
 
 
Llanzlan Klazmon the 15th
Guest
Posts: n/a

 
      11-06-2007, 10:49 PM
(E-Mail Removed) wrote in news:1194373820.126897.216610@
50g2000hsm.googlegroups.com:

> Hello,
> I've implemented an Inetd type daemon in C++ language using Linux
> native Socket APIs.It can listen on multiple ports and fork a process
> which takes over connection just like Inetd.
> I want to ask if i make this daemon to listen on fourty(40) thousand
> ports.What are the Pros and Cons of this approach? Thanks.
> Regards,
> Owais.
>
>


I don't see the point of it to be honest. What exactly are you really
trying to achieve.








 
Reply With Quote
 
Almond
Guest
Posts: n/a

 
      11-07-2007, 01:20 AM
In article <(E-Mail Removed). com>, (E-Mail Removed) wrote:
>Hello,
>I've implemented an Inetd type daemon in C++ language using Linux
>native Socket APIs.It can listen on multiple ports and fork a process
>which takes over connection just like Inetd.
>I want to ask if i make this daemon to listen on fourty(40) thousand
>ports.


Are you serious?
What for?

>What are the Pros and Cons of this approach? Thanks.
>Regards,
>Owais.
>


--
The most powerful Usenet tool you have ever heard of.
NewsMaestro v. 4.0.7 has been released.

* Bug fixes and improvements.

Note: In some previous releases some class files were missing.
As a result, the program would not run.
Sorry for the inconvenience.

Web page:
http://newsmaestro.sourceforge.net/

Download page:
http://newsmaestro.sourceforge.net/D...nformation.htm

Send any feedback, ideas, suggestions, test results to
newsmaestroinfo \at/ mail.ru.

Your personal info will not be released and your privacy
will be honored.
 
Reply With Quote
 
J.O. Aho
Guest
Posts: n/a

 
      11-07-2007, 04:59 AM
> In article <(E-Mail Removed). com>, (E-Mail Removed) wrote:
>> Hello,
>> I've implemented an Inetd type daemon in C++ language using Linux
>> native Socket APIs.It can listen on multiple ports and fork a process
>> which takes over connection just like Inetd.
>> I want to ask if i make this daemon to listen on fourty(40) thousand
>> ports.


Did you look at xinetd?

--

//Aho
 
Reply With Quote
 
Linards Ticmanis
Guest
Posts: n/a

 
      11-07-2007, 09:16 PM
(E-Mail Removed) wrote:
> Hello,
> I've implemented an Inetd type daemon in C++ language using Linux
> native Socket APIs.It can listen on multiple ports and fork a process
> which takes over connection just like Inetd.
> I want to ask if i make this daemon to listen on fourty(40) thousand
> ports.What are the Pros and Cons of this approach? Thanks.


What exactly are you trying to achieve? Depending on that, raw sockets
might be a valid approach.

--
Linards Ticmanis
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Services listening on all ports? tshad Windows Networking 10 01-22-2007 10:26 PM
portqry - ports NOT LISTENING Felix Windows Networking 0 02-04-2006 11:22 PM
Apache and multiple listening ports Jake Linux Networking 3 01-16-2006 01:01 AM
Change DHCP listening ports Tyler Rudolph Windows Networking 3 07-23-2005 11:18 AM
Listening ports =?Utf-8?B?U2NvdHRS?= Windows Networking 0 04-20-2005 07:46 PM



1 2 3 4 5 6 7 8 9 10 11