ACCEPT, CLOSE, READ, WRITE 구현