Exploring low-level socket library