implemented IDataPort interface for socket classes