A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-list/2001-April/086002.html below:

how to listen a port in use ?

how to listen a port in use ? how to listen a port in use ?Joseph C. Kopec kopecjc at att.net
Fri Apr 13 19:56:44 EDT 2001
Some simple suggestions:

1. The server listening to the port could signal the Python application 
(perhaps the server even currently produces side effects that the Python 
application could check -- for instance, a log file that logs connections).

2.  Much more intrusively (and efficiency destroying), the Python 
application could listen to the port and forward to the real server.

Ralf Claus wrote:

> Hello,
> how can i listen a port on my computer, if this port is in use ?  I want
> create a script that popup a message window if   anyone connect this port.
> My try with the socket modul do not work.  An error occurs : This port is in
> use !?
> 
> thanks
> 
> Ralf


More information about the Python-list mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4