Skip to content

icoman/MulticastObserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multicast service discovery in Python

An application written in python 2.7 and PythonCard - blog announcement.

I have discovered that after 11 years since latest update (2006) of PythonCard, the solution still works in Windows and Linux, even with latest wx Python, 3.0.2.0.

I have many projects based on PythonCard which works both on Windows and Linux.

The program register itself as an UDP server and, in a dedicated thread, send UDP multicast message and record the response.

It is possibile to run multiple instances of same program on Windows and Linux.

Two instances running each in Windows 10 and Linux mint, total 4 nodes on network:

On Windows 10

On Linux Mint

The program require an ini file, config.ini, created like that:

;
; comments starts with ; or #
;

TITLE = UDP Multicast Observer

;if not defined nodename => random generated
;nodename = node1

remove_timeout = 5	  ;after how many seconds inactive node is removed

multicast_addr = 224.3.4.5

multicast_port = 45566

I use this program to test the network and to debug the cluster solutions I am building.

License-free software.

Feel free to use this software for both personal and commercial.

About

Multicast service discovery in Python

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published