Permalink
Browse files

more fixes

  • Loading branch information...
1 parent e91eda3 commit d043265c8949cce1b43be598beda6682d352e49b @elblake committed Nov 17, 2012
Showing with 12 additions and 682 deletions.
  1. +7 −0 doc.scrbl
  2. +0 −80 docs/UPnP Example Actions.txt
  3. +0 −67 docs/UPnP Port Mapping.txt
  4. +0 −531 docs/UPnP Session.txt
  5. +1 −0 info.rkt
  6. +4 −4 main.rkt
View
@@ -0,0 +1,7 @@
+#lang scribble/manual
+@; THIS-FILE-WAS-GENERATED-BY-MCFLY-TOOLS (planet neil/mcfly-tools:1:=11)
+@(require (for-syntax racket/base)
+ (for-template racket/base)
+ (planet neil/mcfly:1:3/mcfly-scribble)
+ (planet neil/mcfly:1:3/mcfly-expand))
+@(mcfly-expand "doc.rkt")
@@ -1,80 +0,0 @@
-s=192.168.0.1
-m=POST
->h
-SOAPAction: "urn:schemas-upnp-org:service:WANIPConnection:1#GetGenericPortMappingEntry"
-Content-Type: text/xml; charset="utf-8"
->b
-<?xml version="1.0" encoding="utf-8"?>
-<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
- <s:Body>
- <u:GetGenericPortMappingEntry xmlns:u="urn:schemas-upnp-org:service:WANIPConnection:1">
- <NewPortMappingIndex>0</NewPortMappingIndex>
- </u:GetGenericPortMappingEntry>
- </s:Body>
-</s:Envelope>
-/upnp/control3
-
-
-
-
-
-
-FOR EXTERNAL IP
-s=192.168.0.1
-m=POST
->h
-SOAPAction: "urn:schemas-upnp-org:service:WANIPConnection:1#GetExternalIPAddress"
-Content-Type: text/xml; charset="utf-8"
->b
-<?xml version="1.0" encoding="utf-8"?>
-<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
- <s:Body>
- <u:GetExternalIPAddress xmlns:u="urn:schemas-upnp-org:service:WANIPConnection:1" />
- </s:Body>
-</s:Envelope>
-/upnp/control3
-
-
-
-FOR MAPPING A PORT
-s=192.168.0.1
-m=POST
->h
-SOAPAction: "urn:schemas-upnp-org:service:WANIPConnection:1#AddPortMapping"
-Content-Type: text/xml; charset="utf-8"
->b
-<?xml version="1.0" encoding="utf-8"?>
-<s:Envelope xmlns:s=�http://schemas.xmlsoap.org/soap/envelope/� s:encodingStyle=�http://schemas.xmlsoap.org/soap/encoding/�>
- <s:Body>
- <u:AddPortMapping xmlns:u=�urn:schemas-upnp-org:service:WANIPConnection:1">
- <NewRemoteHost></NewRemoteHost>
- <NewExternalPort>12180</NewExternalPort>
- <NewProtocol>TCP</NewProtocol>
- <NewInternalPort>12180</NewInternalPort>
- <NewInternalClient>192.168.0.189</NewInternalClient>
- <NewEnabled>1</NewEnabled>
- <NewPortMappingDescription>Stuff</NewPortMappingDescription>
- <NewLeaseDuration>0</NewLeaseDuration>
- </u:AddPortMapping>
- </s:Body>
-</s:Envelope>
-/upnp/control3
-
-FOR DELETING A PORT MAPPING
-s=192.168.0.1
-m=POST
->h
-SOAPAction: "urn:schemas-upnp-org:service:WANIPConnection:1#DeletePortMapping"
-Content-Type: text/xml; charset="utf-8"
->b
-<?xml version="1.0" encoding="utf-8"?>
-<s:Envelope xmlns:s=�http://schemas.xmlsoap.org/soap/envelope/� s:encodingStyle=�http://schemas.xmlsoap.org/soap/encoding/ �>
- <s:Body>
- <u:DeletePortMapping xmlns:u=�urn:schemas-upnp-org:service:WANIPConnection:1">
- <NewRemoteHost></NewRemoteHost>
- <NewExternalPort>12180</NewExternalPort>
- <NewProtocol>TCP</NewProtocol>
- </u:DeletePortMapping>
- </s:Body>
-</s:Envelope>
-/upnp/control3
View
@@ -1,67 +0,0 @@
-<action>
- <name>AddPortMapping</name>
- <argumentList>
- <argument>
- <name>NewRemoteHost</name>
- <direction>in</direction>
- <relatedStateVariable>RemoteHost</relatedStateVariable>
- </argument>
- <argument>
- <name>NewExternalPort</name>
- <direction>in</direction>
- <relatedStateVariable>ExternalPort</relatedStateVariable>
- </argument>
- <argument>
- <name>NewProtocol</name>
- <direction>in</direction>
- <relatedStateVariable>PortMappingProtocol</relatedStateVariable>
- </argument>
- <argument>
- <name>NewInternalPort</name>
- <direction>in</direction>
- <relatedStateVariable>InternalPort</relatedStateVariable>
- </argument>
- <argument>
- <name>NewInternalClient</name>
- <direction>in</direction>
- <relatedStateVariable>InternalClient</relatedStateVariable>
- </argument>
- <argument>
- <name>NewEnabled</name>
- <direction>in</direction>
- <relatedStateVariable>PortMappingEnabled</relatedStateVariable>
- </argument>
- <argument>
- <name>NewPortMappingDescription</name>
- <direction>in</direction>
- <relatedStateVariable>PortMappingDescription</relatedStateVariable>
- </argument>
- <argument>
- <name>NewLeaseDuration</name>
- <direction>in</direction>
- <relatedStateVariable>PortMappingLeaseDuration</relatedStateVariable>
- </argument>
- </argumentList>
-</action>
-
-<action>
- <name>DeletePortMapping</name>
- <argumentList>
- <argument>
- <name>NewRemoteHost</name>
- <direction>in</direction>
- <relatedStateVariable>RemoteHost</relatedStateVariable>
- </argument>
- <argument>
- <name>NewExternalPort</name>
- <direction>in</direction>
- <relatedStateVariable>ExternalPort</relatedStateVariable>
- </argument>
- <argument>
- <name>NewProtocol</name>
- <direction>in</direction>
- <relatedStateVariable>PortMappingProtocol</relatedStateVariable>
- </argument>
- </argumentList>
-</action>
-<action>
Oops, something went wrong.

0 comments on commit d043265

Please sign in to comment.