Hi I need a sample code(java, or php) of send/receive message