Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Python Application that Always Listen to Specific Port Number

I want to create a python application that is always listening to a parametrized port. Whenever there is a request coming from the port, the application will parse the request and do tasks based on the request.

Is this type of application called services? (I have 0 knowledge on services). Where can I find beginner's tips and guides on this type of development?

like image 956
Haikal Nashuha Avatar asked Feb 22 '23 11:02

Haikal Nashuha


1 Answers

This is called a server, there are examples at the bottom of the Python socket documentation page.

HTH.

like image 149
hochl Avatar answered Mar 10 '23 09:03

hochl