1. A computer-implemented method for advertising a device over a network, comprising: executing, on the device, a plurality of concurrently executing threads, wherein a first thread, of the plurality of concurrently executing threads, performs a first set of one or more functions specified by a web services device profile specification, wherein a second thread, of the plurality of concurrently executing threads, performs a second set of one or more functions specified by a web services discovery specification.