Implemented socket object and defined device interface