help - Socket sa:mp
#6

Quote:
Originally Posted by Jonny5
Посмотреть сообщение
i edited my post above
but youll need to write your own protocol as far as i can tell


you send from php to server a command "GetPlayers"
on server use the callback onSocketReceiveData
and compare the data received if it == "GetPlayers" then send a packet containing the number of players

if you look up socket handshake i think youll find what i mean .


good luck! and you just made me open my C# to investigate this! thx.


also look at the Tools & Scripts links in the socket plugin thread,
they may be of help esp the Remote Admin GUI
its in vb.net but should shed some light on this for ya.
I already know that
it's not hard, but I don't want it

I want by my server send a socket to an other server (any server) and get some data from it, like the script I sent do (but the script is by php..)
Reply


Messages In This Thread
help - Socket sa:mp - by dudaefj - 01.06.2012, 16:14
Re: help - Socket sa:mp - by dudaefj - 02.06.2012, 00:11
Re: help - Socket sa:mp - by Jonny5 - 02.06.2012, 02:17
Respuesta: Re: help - Socket sa:mp - by dudaefj - 02.06.2012, 02:42
Re: help - Socket sa:mp - by Jonny5 - 02.06.2012, 02:46
Respuesta: Re: help - Socket sa:mp - by dudaefj - 02.06.2012, 03:02
Re: help - Socket sa:mp - by Jonny5 - 02.06.2012, 03:17
Respuesta: Re: help - Socket sa:mp - by dudaefj - 02.06.2012, 03:28
Re: help - Socket sa:mp - by Jonny5 - 02.06.2012, 03:47

Forum Jump:


Users browsing this thread: 4 Guest(s)