added get log implement
add accept from listen and recv data from connect
add file write lock for accept