# hack to load all modules in the muff package
import muff
+import muffuniv
for module in muff.__all__:
exec("import " + module)
newsocket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
# bind the socket to to our desired server ipa and port
- newsocket.bind((muffconf.get("network", "host"), muffconf.getint("network", "port")))
+ newsocket.bind((muffuniv.universe.categories["internal"]["network"].get("host"), muffuniv.universe.categories["internal"]["network"].getint("port")))
# disable blocking so we can proceed whether or not we can send/receive
newsocket.setblocking(0)