need socket library now (for getnetbyname)