|
From: Lars S. <Lar...@if...> - 2010-12-30 23:04:51
|
I am not sure what you mean with direct network connection, I am creating some UDP sockets and a TCP socket. Yes, I am using DHCP. On 30-12-2010 23:51, Leif Mortenson wrote: > Lars, > Is this is a direct network connection? Using DHCP? > > Cheers, > Leif > > On Fri, Dec 31, 2010 at 7:41 AM, Lars Schnoor<Lar...@if...> wrote: >> Hi Leif >> >> It is actually the network itself, I often see a circle over the network >> icon in the taskbar when Windows 7 is started. After a few seconds it >> disappears, it looks like it needs some more time to get the IP-address >> or something. >> When I started to test my application on Windows 7 Beta I experienced >> that if I query the network as soon as my application is started the >> machine had a 169.x.x.x address, a standard Windows IP-address, this >> address was replaced by the correct address if I waited for 20 seconds >> before querying the network card. >> I have to admit that I don't know which service I would have to wait for. >> >> Lars >> >> >> On 30-12-2010 23:30, Leif Mortenson wrote: >>> Lars, >>> What is the network service that you are seeing delays with? General >>> networking should come up before any services are started. >>> >>> If you are trying to make use of a network share, then this is a known >>> problem with the way Windows handles network shares. We have added a >>> feature to make it possible to set up network shares within the >>> service. Please see the following for more information. >>> http://wrapper.tanukisoftware.com/doc/english/prop-share-general.html >>> >>> Another solution is to reference using UNC format. This will only >>> work reliably if the drive is public however. >>> >>> If you know the service you need to wait for, you can also set up >>> service dependencies with the following property: >>> http://wrapper.tanukisoftware.com/doc/english/prop-ntservice-dependency-n.html >>> >>> Please let me know how this works for you, or if this was not what you >>> were looking for. >>> >>> Cheers, >>> Leif >>> >>> On Wed, Dec 29, 2010 at 10:01 PM, Lars Schnoor<Lar...@if...> wrote: >>>> Hi >>>> >>>> My Java application that I am starting with the Java Service Wrapper >>>> uses the network. I noticed that on Windows 7 it sometimes takes more >>>> time before the network is ready. Is there a way to define dependencies >>>> so that my application first is started when the network is up and running? >>>> Thanks in advance! >>>> >>>> Lars |