Class methods: creation newLocalDatagramSocket Creates a new local datagram socket in the AFLOCAL (AFUNIX) family with IP as the protocol. newLocalStreamSocket Creates a new local stream socket in the AFLOCAL (AFUNIX) family with IP as the protocol.