Attached is my example from class, connecting to the “localhost” (to yourself!) and sending OSC data over port 9000. You can, of course, modify this with the IP address of another machine if you want to test sending from one computer to another.
Note my post just below with download instructions for PD-extended AND some links for tutorials to get you starter with the basics.
See the help files for [sendOSC] and [dumpOSC] for more options. Click HERE to download … you will need to unzip the patch to get the resulting “.pd” file.