mirror of
https://github.com/Jous99/F4MP.git
synced 2026-01-12 10:40:53 +01:00
13 lines
166 B
Python
13 lines
166 B
Python
|
|
from F4MP import Server
|
||
|
|
|
||
|
|
my_server = Server("127.0.0.1", 7779)
|
||
|
|
|
||
|
|
|
||
|
|
@my_server.listener()
|
||
|
|
def on_connection_request(event):
|
||
|
|
print("Connection")
|
||
|
|
|
||
|
|
|
||
|
|
my_server.start()
|
||
|
|
|