more socket framework stuff