![]() #!/usr/bin/python # Load extra functionality from the 'socket' and 'os' modules from socket import socket, AF_INET, SOCK_STREAM from os import execl # Listen for a connection server = socket( AF_INET, SOCK_STREAM) # This is an Internet (TCP) connection server. ![]() However, the following Python script will listen for a single connection then exit krfb: ![]() Krfb doesn't have a built-in way to accept the next connection then stop listening for connection attempts.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |