actually, you are right... in addition to that problem, there was the
encodeing/decoding issue you mentioned on both the client and server.
thanks
On Fri, Apr 6, 2012 at 5:08 PM, Khalid Al-Ghamdi wrote:
> yah i did the search, and tried the solution, but it didn't work nice
> of you to have
yah i did the search, and tried the solution, but it didn't work nice
of you to have tried, though...
anyhow, i found where the problem is... on the client side it should be
connect() instead of bind() in :
> tcpCliSock.bind(ADDR)
thanks
On Fri, Apr 6, 2012 at 4:59 PM, Evert Rol wrote:
>
> i'm trying to implement a server that adds a time stamp to incoming text form
> a client.
>
> the server's code is (but doesn't seem to have the problem as demoed by the
> error below:
>
> from socket import *
> from time import ctime
>
> HOST = ''
> PORT = 21567
> BUFSIZ = 1024
> ADDR =(HOS
hi,
i'm trying to implement a server that adds a time stamp to incoming text
form a client.
the server's code is (but doesn't seem to have the problem as demoed by the
error below:
from socket import *
from time import ctime
HOST = ''
PORT = 21567
BUFSIZ = 1024
ADDR =(HOST, PORT)
tcpSerSock =