windows - How to you detect when a virtual machine has resumed -


i have application trying use utulize virtual machines kept in suspended mode. clarify suspended mean virtual machine launched , brought state it's booted , suspended, on demand machine brought live withing few seconds (as opposed full boot cycle of several minutes).

now virtual machine comes online interface message queue. i've come across difficulty, if suspend virtual machine when virtual machine has open tcp/ip connections e.g. message queue, socket isn't discovered invalid until 30-60 seconds later. wondering if there way handle these type of problems, detecting if virtual machine resumed suspension.

a workaround i've had promising results configuring virtual machine without network interface enabled, , keep waiting network interface connected before establishing initial connection. still know there alternatives scenario might better, or tried backup plan.


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -