how to write a C/C++ function as mylogsend(),intending to send messages complied with the Syslog Protocol(similar to UDP)?
<p>I'd like to send some information using the syslog protocol to a linux server.But I want to do it in different OSs,so I'd like to write a C/C++ function mylogsend() to allow me to realize it.Just to funtion strictly complying with the syslog protocol,using a UDP socket.Thanks very much!</p>
