changed Socket/Port to mSocket/mPort