Home All Groups Group Topic Archive Search About
Author
1 Mar 2007 2:21 PM
erdinc.ayhan
There are some adsl and dial-up internet connections on my computer.
My application has some operations like ping, http request, ftp
download etc. And i want to know which com port or which connection
being used when pinging,downloading...

Author
2 Mar 2007 6:28 AM
John Wunderlich
erdinc.ay***@gmail.com wrote in news:1172758878.731702.293570
@v33g2000cwv.googlegroups.com:

> There are some adsl and dial-up internet connections on my computer.
> My application has some operations like ping, http request, ftp
> download etc. And i want to know which com port or which connection
> being used when pinging,downloading...
>
>

The services you quote are TCP/IP services which connect on TCP/IP
ports, not com ports (although your phone modem might use a com port to
communicate to the OS).  The "etc." part leaves this a rather open
question, but a good place to start is the "Assigned Numbers" RFC 1700
which lists tcp/ip ports used by many common services:

<http://www.faqs.org/rfcs/rfc1700.html>

HTH,
  John
Author
2 Mar 2007 9:39 AM
erdinc.ayhan
> The services you quote are TCP/IP services which connect on TCP/IP
> ports, not com ports (although your phone modem might use a com port to
> communicate to the OS).  The "etc." part leaves this a rather open
> question, but a good place to start is the "Assigned Numbers" RFC 1700
> which lists tcp/ip ports used by many common services:
>
> <http://www.faqs.org/rfcs/rfc1700.html>
>
> HTH,
>   John

thanks for your reply,
Actually i want to manage these communications. For example ; i want
to request an http page from one specific gateway or communication, at
the same time, i want to ping from the other. Is it possible?
Author
4 Mar 2007 2:19 AM
John Wunderlich
erdinc.ay***@gmail.com wrote in
Show quoteHide quote
news:1172828392.131083.32040@j27g2000cwj.googlegroups.com:

>
>> The services you quote are TCP/IP services which connect on
>> TCP/IP ports, not com ports (although your phone modem might use
>> a com port to communicate to the OS).  The "etc." part leaves
>> this a rather open question, but a good place to start is the
>> "Assigned Numbers" RFC 1700 which lists tcp/ip ports used by many
>> common services:
>>
>> <http://www.faqs.org/rfcs/rfc1700.html>
>>
>> HTH,
>> John
>
> thanks for your reply,
> Actually i want to manage these communications. For example ; i
> want to request an http page from one specific gateway or
> communication, at the same time, i want to ping from the other. Is
> it possible?
>
>

Not that I'm aware of.  The gateway that is used is based solely on
the destination IP address according to the routing table (viewable
when you type the command "route print" from a command window).

HTH,
  John