Hendrik van Rooyen wrote:
Ferdinand Sousa wrote:
==
.# file receiver
# work in progress
import socket
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
HOST = '192.168.1.17'
PORT = 31400
s.bind((HOST, PORT))
s.listen(3)
conn, add
Ferdinand Sousa wrote:
>==
.# file receiver
># work in progress
>
>import socket
>
>s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
>HOST = '192.168.1.17'
>PORT = 31400
>
>s.bind((HOST, PORT))
>s.listen(3)
>conn, addr = s.accept()
>pr
On Wed, 17 Dec 2008 17:41:46 +0530, Ferdinand Sousa
wrote:
I am using sockets to transfer a file over LAN. There are 2 scripts, the
server opens a listens for connection and the client is run on another
machine. I always make sure the server is run first. The strange thing is
that if the the se
Ferdinand Sousa wrote:
I am using sockets to transfer a file over LAN. There are 2 scripts, the
server opens a listens for connection and the client is run on another
machine. I always make sure the server is run first. The strange thing is
that if the the server script is double-clicked and exec