I am looking to create a C++ socket app that will listen on a port, and receive data from Syslog and Syslog-NG. Is there documentation anywhere about how i开发者_如何学Pythont will come through the socket?
Yes, there is. The syslog protocol is described in RFC 5424. According to IANA, it uses UDP 514
.
精彩评论