A class representing a socket, which may be on a mainboard or on an expansion module such as an SPI multiplexer.Namespace: Gadgeteer
Assembly: Gadgeteer (in Gadgeteer.dll) Version: 126.96.36.199 (2.41.500.0)
public class Socket
This class is normally not directly used by application programs, who refer to sockets by their socket number. Modules should normally use this class and the GT.Interfaces classes to access functionality required to implement their APIs. Mainboards and multiplexer modules providing sockets should use this class's SocketInterfaces subclass to declare functionalities provided on their sockets.