[Socket] Detect when remote host is offline
Hi folks, how i can detect when remote server is offline?
PHP Code:
Thanks |
Re: [Socket] Detect when remote host is offline
https://www.amxmodx.org/api/sockets/socket_open
PHP Code:
|
Re: [Socket] Detect when remote host is offline
Quote:
So that is a bug or someting else in sockets module? Ps. it is a UDP socket! |
Re: [Socket] Detect when remote host is offline
and how do you know the host is offline ?
|
Re: [Socket] Detect when remote host is offline
Quote:
I simple run the plugin, without open hltv server. Or just put a invalid address to it. |
Re: [Socket] Detect when remote host is offline
Try something simple to check if your sockets are working correctly. Here is an example plugin:
Code:
|
Re: [Socket] Detect when remote host is offline
i will try when i go to home. Thanks!
|
Re: [Socket] Detect when remote host is offline
Hi, I have a problem, I want to send a link to player's ip address on port 10048. If there is a (socket_send) connection, the player is connected.
Thanks to the program, I'm listening to port 10048. But I couldn't provide any success. img https://imgyukle.com/i/adsiz.E4TIUS waiting for help |
| All times are GMT -4. The time now is 02:43. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.