Need Help on Sockets.
#1

I changed the web-host to the site and now not work sockets. (Web host has sockets libraries installed and enabled.)

socket_connect($socket, '195.178.12.2', '7778');

195.178.12.2 = Site IP. (Do I have to cross the site's IP or Server IP?)
7778 = PORT Socket.

I do not know what to fill in to IP and port.

Thanks for reading.
Have a nice day everyone.
Sorry for my english.
Reply
#2

Anyone?
Reply
#3

Are the SAMP Server and the web server on the same host?

If not, you probably open a listen socket on the SAMP Server and connect to it from PHP, then you need to fill in the SAMP Server's public IP and the Port of the socket.
Reply
#4

Thanks.
SOLVED.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)