Changes between Version 8 and Version 9 of NetServTutorialInstruction
- Timestamp:
- 10/31/11 13:45:44 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
NetServTutorialInstruction
v8 v9 157 157 6. Example.java also contains an embedded web server. Thus, it is not only a packet processing module but also a server module. The embedded web server is started when the module is installed (in initialize() method) and stopped when the module is removed (in cleanup() method). See the startHttpServer() method for what the web server does. 158 158 159 7. Open a new tab on your browser and go to the following URL: 160 161 159 7. Open a new tab on your browser and go to the following URL (''replace "'''XX'''" with your own user number''): 160 161 [http://pc539.emulab.net:80XX] 162 163 The embedded web server will respond with the current packet count as shown below. 164 165 [[Image(.jpg, 300px)]] 162 166 163 167 == (Optional) Run !NetServ node locally ==