Basic socket library connectivity