24.02.2016, 17:44
First, server is the softwer that waits for connection's . So when someone say server it is the one that listens on some port. Client is anyone that connects to that port. If you understood these, than you understand that samp server can actually be a client.
@CSCripMa what you need to do is create TCP socket server inside samp server. (see example on first page) and then when you want to push some data from php to samp server, you connect with php and send that info.
Take a look at http://www.codeproject.com/Tips/4188...ramming-in-PHP -> Scroll down to CLIENT (client.php)
@CSCripMa what you need to do is create TCP socket server inside samp server. (see example on first page) and then when you want to push some data from php to samp server, you connect with php and send that info.
Take a look at http://www.codeproject.com/Tips/4188...ramming-in-PHP -> Scroll down to CLIENT (client.php)