Documentation Ethernet: Client class

Im trying to write a sketch that will send a UDP packet off the arduino ethernet shield (arduino Mega 2560 and ethernetSD).

I'm not seeing any traffic. How do I tell that i am setting up my socket correctly? I am using ethernet.begin() , I am passing MAC,IP,gateway,Subnet parameters.

is that all I need to do to get a good socket?

Thank you!