A Windows Vista forum. Vista Banter

Welcome to Vista Banter.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to ask questions and reply to others posts, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

Go Back   Home » Vista Banter forum » Microsoft Windows Vista » Networking with Windows Vista
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Networking with Windows Vista Networking issues and questions with Windows Vista. (microsoft.public.windows.vista.networking_sharing)

localhost socket connection



 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old April 16th 08, 11:07 PM posted to microsoft.public.windows.vista.networking_sharing
PRSGuitarPlayer
external usenet poster
 
Posts: 3
Default localhost socket connection

Greetings:

I have an application that performs a socket connection to a local server
with an address of "localhost," 127.0.0.1 and a port of 3490. The local
server returns a web page using the default browser established in the Vista
OS.

However, when the socket connection is performed, a message appears with a
request to connect to the internet or remain offline. If "offline" is
selected, the web page appears to be taken from cache and not updated. If
"connect" is selected, the web page is updated but then a request is received
to connect to the Inrernet using a DSL connection that is configured in the
system. Although the web page returned from the local server is then updated
with new data, it is necessary to cancel the DSL connection request. This
behavior occurs with each socket connection to the localhost server.

Windows XP does not exhibit this behavior. Rather, Xp makes the connection
to the local server without any messages concerning requests to connect to
the internet.

I looked at Windows Explorer to see if I could find any relavent
configuration problems, but I found none.

How do I stop this unwanted Internet connection behavior when performing
socket connections to a localhost server?

Any suggestions are greatly appreciated.

Thanks
Roy W.


  #2 (permalink)  
Old April 17th 08, 05:57 PM posted to microsoft.public.windows.vista.networking_sharing
AJR
external usenet poster
 
Posts: 1,033
Default localhost socket connection

Confused here - if the application is on a computer other than the "local
server" connecting to "Localhost" would mean it is connecting to the
computer on which it is installed.

Local host, or it's address 128.0.0.1, provides a means of "pinging" a
computer from it's own keyboard - primarily as a means of checking it's
TCP/IP configuration.


"PRSGuitarPlayer" wrote in
message ...
Greetings:

I have an application that performs a socket connection to a local server
with an address of "localhost," 127.0.0.1 and a port of 3490. The local
server returns a web page using the default browser established in the
Vista
OS.

However, when the socket connection is performed, a message appears with a
request to connect to the internet or remain offline. If "offline" is
selected, the web page appears to be taken from cache and not updated. If
"connect" is selected, the web page is updated but then a request is
received
to connect to the Inrernet using a DSL connection that is configured in
the
system. Although the web page returned from the local server is then
updated
with new data, it is necessary to cancel the DSL connection request. This
behavior occurs with each socket connection to the localhost server.

Windows XP does not exhibit this behavior. Rather, Xp makes the
connection
to the local server without any messages concerning requests to connect to
the internet.

I looked at Windows Explorer to see if I could find any relavent
configuration problems, but I found none.

How do I stop this unwanted Internet connection behavior when performing
socket connections to a localhost server?

Any suggestions are greatly appreciated.

Thanks
Roy W.




  #3 (permalink)  
Old April 17th 08, 08:20 PM posted to microsoft.public.windows.vista.networking_sharing
PRSGuitarPlayer
external usenet poster
 
Posts: 3
Default localhost socket connection

Hello AJR:

Actually, AJR, the localhost IP 127.0.0.1 is a "private" IP used for
interprocess communications. It is just a special IP that is used for
communications between 2 or more executables on the same computer systrem.

Ping, on the other hand, is a UDP not TCP protocol tool to test the
operability of a connection between 2 IP end points. The IP end points can
be either private or public IP's

My application, which resides on a single computer system, consists of 2
executables in the client/server model. The client sends a request to the
server for a web page. The client connects to the server using a standard
TCP socket connection using 127.0.0.1 (localhost in the System Hosts file)
with a port of 3780. The server "listens" for the connection request,
establishes the connection, and sends back to the client the web page that
was requested.

The application does not function to access the external Internet. Yet, the
Vista OS displays a subwindow which requests a connection to the Internet.
The internal configuration of the computer does include a DSL Internet
configuration but the DSL link is not connected as the application does not
requiire it. Vista, however, seems to be forcing the request on a localhost
connection.

Now on windoes XP, this connection behavior does not occur. I am not sure
if this a OS bug, a valid Vista functional change, or some configuration
problem.



"AJR" wrote:

Confused here - if the application is on a computer other than the "local
server" connecting to "Localhost" would mean it is connecting to the
computer on which it is installed.

Local host, or it's address 128.0.0.1, provides a means of "pinging" a
computer from it's own keyboard - primarily as a means of checking it's
TCP/IP configuration.


"PRSGuitarPlayer" wrote in
message ...
Greetings:

I have an application that performs a socket connection to a local server
with an address of "localhost," 127.0.0.1 and a port of 3490. The local
server returns a web page using the default browser established in the
Vista
OS.

However, when the socket connection is performed, a message appears with a
request to connect to the internet or remain offline. If "offline" is
selected, the web page appears to be taken from cache and not updated. If
"connect" is selected, the web page is updated but then a request is
received
to connect to the Inrernet using a DSL connection that is configured in
the
system. Although the web page returned from the local server is then
updated
with new data, it is necessary to cancel the DSL connection request. This
behavior occurs with each socket connection to the localhost server.

Windows XP does not exhibit this behavior. Rather, Xp makes the
connection
to the local server without any messages concerning requests to connect to
the internet.

I looked at Windows Explorer to see if I could find any relavent
configuration problems, but I found none.

How do I stop this unwanted Internet connection behavior when performing
socket connections to a localhost server?

Any suggestions are greatly appreciated.

Thanks
Roy W.





  #4 (permalink)  
Old April 22nd 08, 10:31 PM posted to microsoft.public.windows.vista.networking_sharing
PRSGuitarPlayer
external usenet poster
 
Posts: 3
Default localhost socket connection

Hello:

I found the problem. Windows Explorer, Internet Options, Connections was
set to "Dial whenever a network connction is not present."

I had to set the opetion to "Never dial a connection" to pervent the
unwanted Internet connection request when perform a socket connection to
localhost, 127.0.0.1.

Window XP does not require this change. Thus, this is a difference in
behavior between XP and Vista.

RW

"PRSGuitarPlayer" wrote:

Greetings:

I have an application that performs a socket connection to a local server
with an address of "localhost," 127.0.0.1 and a port of 3490. The local
server returns a web page using the default browser established in the Vista
OS.

However, when the socket connection is performed, a message appears with a
request to connect to the internet or remain offline. If "offline" is
selected, the web page appears to be taken from cache and not updated. If
"connect" is selected, the web page is updated but then a request is received
to connect to the Inrernet using a DSL connection that is configured in the
system. Although the web page returned from the local server is then updated
with new data, it is necessary to cancel the DSL connection request. This
behavior occurs with each socket connection to the localhost server.

Windows XP does not exhibit this behavior. Rather, Xp makes the connection
to the local server without any messages concerning requests to connect to
the internet.

I looked at Windows Explorer to see if I could find any relavent
configuration problems, but I found none.

How do I stop this unwanted Internet connection behavior when performing
socket connections to a localhost server?

Any suggestions are greatly appreciated.

Thanks
Roy W.


 




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

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



All times are GMT. The time now is 10:49 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.Search Engine Optimization by vBSEO 3.0.0 RC6
Copyright ©2004-2012 Vista Banter.
The comments are property of their posters.