hi all,
i have connected 4 ip camera s with my pc.. i need to raise msg when the camera cable unplugged (abnormally) using winsock..


i tried using loop like
for 0 to 3
winsock(i).close
if winsock1(i).connect <> sckConnected then
msgbox("no connection")
end if


i know as a beginner this may be a wrong..
give me some guide lines to resolve...

thankx in advance

i think you need to handle the COM ports for all that.

hi ,
nice to see ur reply.
is it possible to check the dropped connection(abnormally) thro COM ports..?

thanks
naren

hi all,
i have connected 4 ip camera s with my pc.. i need to raise msg when the camera cable unplugged (abnormally) using winsock..


i tried using loop like
for 0 to 3
winsock(i).close
if winsock1(i).connect <> sckConnected then
msgbox("no connection")
end if


i know as a beginner this may be a wrong..
give me some guide lines to resolve...

thankx in advance

keep checking the status of the COM ports and Socket(if using WINSICK component) at a particular time interval using a timer

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.