kylinsoong / ttcp

Test TCP
Apache License 2.0
3 stars 3 forks source link

Enhance the echo Server logging #1

Closed kylinsoong closed 2 years ago

kylinsoong commented 2 years ago

Current logs like

echoS: socket
echoS: bind
echoS: accept from 10.1.20.201
echoS: accept from 10.1.20.201
echoS: connection closed by other end
echoS: connection closed by other end
echoS: accept from 10.1.20.201
echoS: accept from 10.1.20.201
echoS: connection closed by other end
echoS: connection closed by other end
echoS: accept from 10.1.20.201
echoS: accept from 10.1.20.201
echoS: connection closed by other end
echoS: connection closed by other end
echoS: accept from 10.1.20.201
echoS: accept from 10.1.20.201
echoS: connection closed by other end
echoS: connection closed by other end

this should polished.

kylinsoong commented 2 years ago

799cafdbaa39ac5c61368ca37adfeb564a255c2a