My Opinion.
Why the PC have dynamic IP?
Before you deploy the app to the Client make a guide (Manual pdf, PDF with Graphics,etc) with informations about the deploy.
Example >The Logistics programs need to be in a server with static IP and clients with static ip’s, this the default now for many years.
The developer is responsible for the app NO for the networks
The Developer provide the information in website or the manual what and how the app need to be installed to work.
?he developer can give some Information about what is best hardware for the app. to work faster-more stable (Lan 100 or 1000Mbits,Router or switch etc.)
The developer maybe have collaboration with company to provide the hardware & software + (support per hour) to the client with extra cost’s.
From the client side…
The client is responsible for the network.
The client is responsible for the hardware.
IF you don’t like any of above then just make a single desktop app.
I’m assuming other company networks are like my employers where IPs can change when pc’s are powered down/up.
It certainly sounds like the server needs to be fixed at least & we’d need to stipulate this. So perhaps i can tick this off as being answered.
So the next part is the client / server communications.
Oliver - yes I’ve had a play with HandleSpecialurl & will probably use this in the server app.
So, client app will know web app address (assume static ip) - perfect.
But, now i face the problem of data transfer from client to web app.
I see 2 methods; 1) clients apps broadcast their data continuously at say once every 10 seconds or so.
Web app needs to be constantly listening & able to handle possibly many broadcasts that could be sent at same time?
2) web app polls the clients in sequence
I would personally prefer the polling method as this is more controlled.
Client data won’t be huge. Maybe 50 to 100 bytes.
Any pointers / methods / suggestions greatly appreciated!
[quote]I’m assuming other company networks are like my employers where IPs can change when pc’s are powered down/up.
[/quote]
This depends from what hardware you using or the customer…
Like I say in my first post if you use a router you can bind the ip to specific pc…
Check the photo bellow and the Reserve IP address
Every time the user close - open the pc get the same IP
If the customer network ips are fixed then all the better.
From the answers above it seems that It’s acceptable to expect the customer to lock-down the server. I will accept this.
It’s a shame it can’t be an auto-discovery system but no big deal.
My next issue is connecting multiple clients to server