Take a look here http://wiki.vg/Server_List_Ping it has some example code and explains the ping packet structure
Separate names with a comma.