Skip to content

Python TCP. Client server socket project.Client send data to server.Server save data to base

Notifications You must be signed in to change notification settings

welir/TCP-PYTHON

Repository files navigation

TCP-PYTHON

Description

Python TCP. Client server socket project.
Client send data to server -- Server save data to base
You can set parametrs in server and client projects:

Usage

Params

In CLIENT and SERVER SCRIPT
    host = 'yow host'
    port = 'port'

IN CLIENT script
    data = 'yow data'

How Run ?

  if you use gui: Run script Form.py and click Start
  if you use console: uncomment string in script server_threads.py name #serv.start_server()  

How Stop ?

  if you use gui: In  Form.py click Stop
  if you use console: close or exit;