removed session manager, since CoreEmu does this now, set future examples to serve as API examples, removed netns examples that are replaced by these API variations
This commit is contained in:
parent
8644e9d61e
commit
dc751dde2b
18 changed files with 12 additions and 996 deletions
|
@ -105,7 +105,7 @@ def main():
|
|||
start = datetime.datetime.now()
|
||||
|
||||
prefix = ipaddress.Ipv4Prefix("10.83.0.0/16")
|
||||
session = Session(1, persistent=True)
|
||||
session = Session(1)
|
||||
if "server" in globals():
|
||||
server.addsession(session)
|
||||
|
||||
|
@ -125,7 +125,6 @@ def main():
|
|||
|
||||
# Set the local session id to match the port.
|
||||
# Not necessary but seems neater.
|
||||
# session.sessionid = session.broker.getserver("localhost")[2].getsockname()[1]
|
||||
session.broker.setupserver(daemon)
|
||||
|
||||
# We do not want the recvloop running as we will deal ourselves
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue