Sign in to follow this  
Followers 0
uplink477

TCP connectivity at boot-up

5 posts in this topic

#1 ·  Posted (edited)

Ok so iam trying to script that when started it reads some data from some files on the hard-disk, then it Init's a connection back to the server side where the server takes the data and stores it for later refrence. the only problem is whenever the "client" script is started from the registry the connection never makes it, however if i start the application manually it works fine, ive even included a small loop in the script to try and connect if there is no connections active but even that dont work any help would be great,

a bit more info,

iam running windows XP sp2 for testing the client side and Windows XP sp3 for the server side

the registry key is under Hkey_local_machine\microsoft\windows\current Ver\Run\

Edited by uplink477

Share this post


Link to post
Share on other sites



Anyone experienced this before? anyone attempted something like this before?

Share this post


Link to post
Share on other sites

A network must be available. You will need to loop your connect until it succeeds. The network is not always available right away at boot up... perhaps.

Lar.


f_mrcleansmalm_77ce002.jpgAutoIt has helped make me wealthy

Share this post


Link to post
Share on other sites

A network must be available. You will need to loop your connect until it succeeds. The network is not always available right away at boot up... perhaps.

Lar.

nope didnt work i tryed makeing my script sleep for 5 mins beofer it did anythign, still same problem

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

Are you checking if TCPStartup is failing? Also, check the error of the TCPConnect function.

Edited by cppman

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0