-
Notifications
You must be signed in to change notification settings - Fork 1
teamspeak_socket_init
BluscreamFanBoy edited this page Aug 23, 2015
·
1 revision
teamspeak_socket_init($clientquery_port=25639)
This is a Function that initalize a local socket connection to the teamspeak client query and gets
and echo
the first 3 lines of the response.
clientquery_port
The Client Query must be a Integer. If not set it is using the default port for the clientquery(25639).
This Function return a simple raw socket for a connection to the teamspeak client query.
//Create a connection to the current client query
$ts3query = teamspeak_socket_init();
//Create a connection to the current client query with a custom port
$ts3query = teamspeak_socket_init(12058);
No Changes