[EMAIL PROTECTED] wrote:
Hello Jens, hello all,
thanks for your replay. I tried your solution first and get some errors.
Independing of the size in socket.recv and f.read I allways get an empty
datastring after 1770 bytes. But I found a similiar solution here
http://mail.python.org/pipermail/pytho
Hello Jens, hello all,
thanks for your replay. I tried your solution first and get some errors.
Independing of the size in socket.recv and f.read I allways get an empty
datastring after 1770 bytes. But I found a similiar solution here
http://mail.python.org/pipermail/python-list/2002-July/111754.
Well, this is pretty easy to do. The server side would look like this
import socket, sys, pickle
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.bind(('', ))
s.listen(5)
while True :
clientsock, clientaddr = s.accept()
# read size of file
file_size = pickle.load(clientsock.make
Hello,
I'm wondering if i try a good solution for the following problem:
We have an old DOS Application running on a W2K-Server which uses normal
DOS-print and a workstation(w2k) in an outlet connected to the server via VPN.
The workstation uses remote desktop to run the software and prints to LP