Dear all,
is there any way to close open sockets after 30 sec? socket timeout does not work because I want to kill the opensocket
whatever datas will be transfered.
Regards
Stef
Close opensockets after 30 sec
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Close opensockets after 30 sec
Hi Stef,ace16vitamine wrote: ↑Tue May 12, 2020 10:08 pmis there any way to close open sockets after 30 sec? socket timeout does not work because
I want to kill the opensocket whatever datas will be transfered.
socket timeout won't do what you're looking at.
I believe you want this one: close socket socketID
And to do it after 30 seconds (pseudo-code):
Code: Select all
open socket ...
send "closeThisSocket" to me in 30 seconds
-----------------------
on closeThisSocket
close socket socketID
end closeThisSocket
HTH,
Thierry
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!
-
- Posts: 130
- Joined: Fri Apr 13, 2018 1:53 pm
Re: Close opensockets after 30 sec
Hi,
this does only work from the one who is open the socket.
But I need to do this from the "Server":
accept secure connections on port 9999 with message "verbindung_client_read"
Thanks
Stef
this does only work from the one who is open the socket.
But I need to do this from the "Server":
accept secure connections on port 9999 with message "verbindung_client_read"
Thanks
Stef