Skip to content

Instantly share code, notes, and snippets.

View ismaelgaudioso's full-sized avatar

Ismael Gaudioso ismaelgaudioso

View GitHub Profile
@ismaelgaudioso
ismaelgaudioso / discovery-test.py
Last active May 4, 2022 07:52 — forked from provegard/ssdp-test.py
Small SSDP server/client test in Python
import socket
import struct
import sys
from httplib import HTTPResponse
from BaseHTTPServer import BaseHTTPRequestHandler
from StringIO import StringIO
import gtk
import gobject
@ismaelgaudioso
ismaelgaudioso / ssdp.py
Last active September 2, 2015 06:35 — forked from dankrause/ssdp.py
Tiny python SSDP discovery library with no external dependencies
# Copyright 2014 Dan Krause
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,