Basic socket setup and hardware config