Help with Net Messages

So if I wanted to send data from one client to the rest of them would I just like do


net.Start("sendstuff to everyone") 
net.WriteInt(2, 16)
net.SendToServer()

on the client that is sending and this on the server



util.AddNetWorkString("sendstuff to everyone")
util.AddNetWorkString("serversend to everyone")

local function sendtopeople(num)
 net.Start("serversend to everyone")
 net.WriteInt(num,16)
 net.Broadcast()
end

local int = 1 
net.Receive("sendstuff to everyone", function()
 int = net.ReadInt(16)
 sendtopeople(int)
end)

and this on every other client



net.Recieve("seversend to everyone", function()
    local int = net.ReadInt(16)
    print("Woo you got a "..int)
end)

Did you actually try your code?