1
vote
1answer
35 views

Python Twisted Maximum Number Of Active Connections

I am writing a simple program that sends messages back and forth between a single computer running many clients and multiple servers using Twisted. Replies to these messages require fairly long ...
-1
votes
0answers
35 views

How to write this server-client program in python

I know almost nothing on multi-thread and client-server programming. I need a server-client program as the followings. Could anyone please kind me how to write it: Multiple clients vs. one server. ...
0
votes
1answer
40 views

Sending file from server to client (python)

I'm currently writing a server-client application that need to transfer some file to work. I'm using this method: client: file_to_send = raw_input(">") try: f = open("./sent_files/" + ...
0
votes
1answer
29 views

can peer A connect to peer B if server is on peer B?

As the title says, can client A connect to client B on different machines, when the server is on the same machine with client B ? Note that the client B and server on the machine have different port ...
0
votes
1answer
33 views

communicate with java server through python client

I'm trying to adjust the sample java code for an API to work with a python script. I know the java code works and can do a socket connection in python but can't figure out how to convert the string in ...
0
votes
1answer
51 views

UDP client cannot talk through an external IP address

I am running a UDP server and client (python). When within the same local network, the client is able to talk to the server. However when the server IP address is set to IP address of the router ...
0
votes
3answers
66 views

How do I receive and manage multiple TCP connections on the same port?

I have a number of clients who need to connect to a server and maintain the connection for some time (around 4 hours). I don't want to specify a different connection port for each client (as there are ...
3
votes
1answer
317 views

Video streaming using Python+openCV through Client and Server

I made a small Server Client Video streaming program in Python. I used "VideoCapture" module for getting the image frames in Windows. But actually i wanted to do the project in Raspberry Pi. Then i ...
0
votes
1answer
90 views

TLS echo server and echoclient in python crashes

I wrote a simple echo server client code in Python. I also generated keyfile.pem and certfile.pem, with commands: openssl genrsa -des3 -out keyfile.pem 2048 and openssl req -new -key keyfile.pem ...
1
vote
3answers
92 views

The loop gods strike again - How to keep socket connected despite GUI mainloop?

Question How to run the Tkinter mainloop and an infinite server loop simultaneously, in the same script? Background I am in the process of creating a GUI server in Tkinter (Python 2.7.3). So far, ...
1
vote
1answer
159 views

Python socket program with shell script?

I have two machines connected by a switch. I have a popular server application which we can call "SXC_SERVER" on machine A and I interrogate the "SXC_SERVER" with the corresponding application from ...
0
votes
1answer
251 views

python real-time client-server application [closed]

I need create a real-time client-server application (like Dropbox). Client application should listen one channel of data. I can do it with python? What solutions, technologies, modules exists in ...
-2
votes
1answer
229 views

Python client socket: listen server and write to server when it necessary [closed]

How to use sockets in Python for my program? It connects to server, listen it, if server send something to it - call handler-function, if program need to send something to server - it stops listening ...
7
votes
1answer
131 views

Flexible IPC solution for Python on Linux? [closed]

I'm writing a program in Python for which I'm considering a local client-server model, but I am struggling to figure out the best way for the server to communicate with the client(s). A simple, canned ...
1
vote
0answers
105 views

Python twisted client server interface

I'm designing a domotic network, which would basically consist in a main node that will act as a front-end where a web server will be hosted and a bunch of client nodes such as video entry-phone, ...

1 2 3 4 5
15 30 50 per page