a simple framework 4 socket