OSC Open Sound Control

how to create an app to send and receive messages using the OSC protocol (Open sound Control)?