Hi, if you want to stop (disconnect) and start again, you need to do exactly that:
GSStop (C API)/
GevServer.Stop (OOP API)
GSStartIPv4 (C API)/
GevServer.Start (OOP API)
The reconnect handling is done by the “client”, e.g. the GenICam.vin. What you need to do there is described in the GenICam User Guide.
You can simply test that with one of the GEV Server examples (click the Stop and then the Start button). If you use e.g. the C# example you can see the connection state in the status bar.
The GEV Server itself needs no extra reset. If your application needs one if the client disconnects, you can use the connection monitoring events:
SE_Connected (C API)
GevServer.RemoteEndpointConnected (OOP API)
In case you simulated the disconnect via stop and then start, you will receive the connected event as soon as the client reestablished the connection. But keep in mind that the control lies with the client. It needs to start the acquisition before you can start again sending image data (
I hope that answers your question.