miniupnp/minissdpd
Thomas Bernard 2e42be246e disable link_ntoa() under Solaris 2012-05-25 00:39:23 +02:00
..
.gitignore Added relevant .gitignore files 2011-09-30 09:59:34 +02:00
Changelog.txt Set sockets non blocking 2012-05-24 18:21:24 +02:00
LICENSE remove trailing whitespace from minissdpd 2012-02-29 17:52:48 -08:00
Makefile Clean CLFAGS in Makefile 2012-05-08 23:06:14 +02:00
README remove trailing whitespace from minissdpd 2012-02-29 17:52:48 -08:00
VERSION prepare version 1.2 release 2012-05-24 18:26:13 +02:00
codelength.h Adding minissdpd 2011-09-28 21:14:08 +02:00
config.h remove trailing whitespace from minissdpd 2012-02-29 17:52:48 -08:00
daemonize.c remove trailing whitespace from minissdpd 2012-02-29 17:52:48 -08:00
daemonize.h remove trailing whitespace from minissdpd 2012-02-29 17:52:48 -08:00
ifacewatch.c Set sockets non blocking 2012-05-24 18:21:24 +02:00
ifacewatch.h remove trailing whitespace from minissdpd 2012-02-29 17:52:48 -08:00
listifaces.c Adding minissdpd 2011-09-28 21:14:08 +02:00
minissdpd.1 Replaced hyphens by minus in man pages 2011-10-09 17:50:09 +02:00
minissdpd.c Set sockets non blocking 2012-05-24 18:21:24 +02:00
minissdpd.init.d.script Adding minissdpd 2011-09-28 21:14:08 +02:00
openssdpsocket.c Set sockets non blocking 2012-05-24 18:21:24 +02:00
openssdpsocket.h Adding minissdpd 2011-09-28 21:14:08 +02:00
testcodelength.c remove unused argument warning 2012-05-08 23:11:02 +02:00
testminissdpd.c Remove a few signed/unsigned compares 2012-05-08 23:10:25 +02:00
upnputils.c disable link_ntoa() under Solaris 2012-05-25 00:39:23 +02:00
upnputils.h add set_non_blocking() to upnputils.c/h 2012-04-10 00:17:08 +02:00

README

protocole :

connection à la socket unix.
envoie d'une requete, retour d'une reponse.
fermeture de la connexion.

format de requete :
1 octet : type de la requete
          1 - type
		  2 - USN (id unique)
		  3 - tout
n octets longueur de la chaine : 1 octet si < 128 sinon le bit haut
indique s'il existe un octet suplementaire, etc...
n octets = chaine

format reponse :
1 octet : nombre de reponses
pour chaque rep :
URL :
  n octets longueur de la chaine
  n octets = chaine Location
ST:
  n octets longueur de la chaine
  n octets = chaine type
USN:
  n octets longueur de la chaine
  n octets = chaine identifiant

Type de requete 4 = submit service
1 octet = 4
(k,n) octets : longueur et chaine "ST" (service type)
(k,n) octets : longueur et chaine "USN"
(k,n) octets : longueur et chaine "Server"
(k,n) octets : longueur et chaine "Location"
Pas de reponse