Re: declaration problem

2008-11-07 Thread Steve Holden
Marc 'BlackJack' Rintsch wrote: > On Fri, 07 Nov 2008 16:05:22 +0530, devi thapa wrote: > >> I am using the command >> >> recv(..) to receive a message from client. >> >> retval = recv(my_socket, *buf, len(buf) , 0) >> >> and its giving this error >> >> File "./server1.py", line 31 >> retval

Re: declaration problem

2008-11-07 Thread Marc 'BlackJack' Rintsch
On Fri, 07 Nov 2008 16:05:22 +0530, devi thapa wrote: > I am using the command > > recv(..) to receive a message from client. > > retval = recv(my_socket, *buf, len(buf) , 0) > > and its giving this error > > File "./server1.py", line 31 > retval = recv(my_socket, *buf, len(buf) , 0) >

declaration problem

2008-11-07 Thread devi thapa
Hi, I am using the command recv(..) to receive a message from client. retval = recv(my_socket, *buf, len(buf) , 0) and its giving this error File "./server1.py", line 31 retval = recv(my_socket, *buf, len(buf) , 0) ^ SyntaxEr