On 2005-06-29, Jp Calderone <[EMAIL PROTECTED]> wrote:
> On Thu, 30 Jun 2005 00:13:45 +0200, Irmen de Jong <[EMAIL PROTECTED]> wrote:
>>Grant Edwards wrote:
>>
>>> Under Linux, you need to be root to send a broadcase packet.
>>
>>I don't think this is true.
>>
>
> I think you're right. I believe y
On Thu, 30 Jun 2005 00:13:45 +0200, Irmen de Jong <[EMAIL PROTECTED]> wrote:
>Grant Edwards wrote:
>
>> Under Linux, you need to be root to send a broadcase packet.
>
>I don't think this is true.
>
I think you're right. I believe you just need to set the broadcast SOL_SOCKET
option.
>>> import
Grant Edwards wrote:
> Under Linux, you need to be root to send a broadcase packet.
I don't think this is true.
--Irmen
--
http://mail.python.org/mailman/listinfo/python-list
On 2005-06-29, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> wrote:
> I'm sort of new to both Python and socket programming so I
> appologize ahead of time if this is a dumb question. I have
> found that the following code works on windows but on linux I
> get an exception.
>
> import socket
> s = sock
I'm sort of new to both Python and socket programming so I appologize ahead of
time if this is a dumb question. I have found that the following code works on
windows but on linux I get an exception.
import socket
s = socket.socket( socket.AF_INET, socket.SOCK_DGRAM )
s.connect( ( '', 1617 ) )