perl working with Net::WebSocket::Server
Budget: $12 – $30 SGD
client is connected to server on port 9000 example 192.168.2.100:9000?uuid=CLIENT1
on the server side how can i get the uuid out ? i can get ip and port, what about the url ?
on_connect => sub {
my ($serv, $conn) = @_;
$conn->on(
utf8 => sub {
my ($conn, $msg) = @_;
$IP = $conn->ip();
$PORT = $conn->port();
on the server side how can i get the uuid out ? i can get ip and port, what about the url ?
on_connect => sub {
my ($serv, $conn) = @_;
$conn->on(
utf8 => sub {
my ($conn, $msg) = @_;
$IP = $conn->ip();
$PORT = $conn->port();
Related categories:
Perl