I mis-phrased:
> The code passes
> 'self' to __init__, but not to any of the others methods.
Of course I meant that the formal parameter for self is missing.
> > class mysocket:
>
>> '''classe solamente dimostrativa
>> - codificata per chiarezza, non per efficenza'''
>>
Marco Meoni wrote:
> Hi. I read the Gordon McMillan's "Socket Programming Howto".
> I tried to use the example in this howto but this doesn't work.
You are right, that obviously won't work. The code passes
'self' to __init__, but not to any of the others methods.
I'm cc'ing this post to [EMAIL PR
Steve Holden ha scritto:
> [...]
> I can see you have changed the example a little (because I know that
> Gordon's original didn't have comments in Italian).
The example cames from italian translation of the howto:
http://python.it/doc/howto/Socket/sockets-it/sockets-it.html
Regards Manlio P
Marco Meoni wrote:
> Hi. I read the Gordon McMillan's "Socket Programming Howto".
> I tried to use the example in this howto but this doesn't work.
> The code is class mysocket:
> '''classe solamente dimostrativa
> - codificata per chiarezza, non per efficenza'''
> def __i