Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8911879
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T04:03:30+00:00 2026-06-15T04:03:30+00:00

I am working on a client/server model for transfering some data read from a

  • 0

I am working on a client/server model for transfering some data read from a changing file on the client site (window tkinter client which watches for file changes) and transfer it to a server to process the data (split the data into lists and make some stuff with it).
What is the best solution for this in your eyes. One of the must haves is it needs to be secure so I though about including some ssl encryption with a self written cert and include it into the client. should I use pure socket programming in python or something like gevent or twisted? The client only connects when the watched file has changed, greps the data, connects to the server, transmit it and disconnect. can happen 10 times an hour or 10 times a day its not really calculable.

open for any suggestions and experience for similar issues.

thanks dave

UPDATE FYI: there will always only be 1 server and 1 client!

UPDATE 2: Also is it possible to include a ssl way that only the client who does have the one part of the certificate can connect to this specific server so to prevent others from connecting to it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T04:03:32+00:00Added an answer on June 15, 2026 at 4:03 am

    I would just go with JSON over HTTP(s), makes things easy. It doesn’t look like you need much raw performance, and all the libraries for JSON and HTTP are already included in the stdlib.

    No need to run Apache or anything, you can just run a tiny web server from within Python:

    http://docs.python.org/2/library/wsgiref.html#module-wsgiref.simple_server

    You can use client certificates with SSL, but not many people do, so it might not be easy to setup. Instead, you could just pick a large enough random string as a “password” that the client must include in the request. If you want to get all fancy, you could use TOTP one-time passwords.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently working on a simple Client/Server model which sends packets within TCP packets
I'm working on an iPhone app that requires a basic client/server interaction model. For
I am working on an application where client and server share an object model,
I'm currently working on a small C++ project where I use a client-server model
I am working on an android client which reads continues stream of xml data
I'm making a client/server program (it's a model of a system I'm working with)
I am working on a client/server application and communication between the two is encrypted.
I'm working on a client-server Android application and trying to figure out how to
I'm working on a client/server library for a legacy RPC implementation and was running
I am working on a client server system, and am running into issues where

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.