By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
439,985 Members | 1,574 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 439,985 IT Pros & Developers. It's quick & easy.

Windows, Python and low level networking

P: n/a
Is it possible to have low level netwoking with python under Windows?
Like raw sockets?
Is it possible to send a single packet using python under windows?

Thank you

Jul 18 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
Maybe this will help.
From the interpreter ->
import socket
help(socket)

Which gives you all sorts of neat information on the socket module.

jw
On 23 Mar 2005 08:08:04 -0800, ia*****@lycos.com <ia*****@lycos.com> wrote: Is it possible to have low level netwoking with python under Windows?
Like raw sockets?
Is it possible to send a single packet using python under windows?

Thank you

--
http://mail.python.org/mailman/listinfo/python-list

Jul 18 '05 #2

P: n/a
ia*****@lycos.com wrote:
Is it possible to have low level netwoking with python under Windows?
Like raw sockets?
Is it possible to send a single packet using python under windows?


Google is your friend:

Try searching with "python sockets", for example...

(You *have* heard of Google, haven't you? It's been
in the news a bit lately...)

-Peter
Jul 18 '05 #3

P: n/a
ia*****@lycos.com wrote:
Is it possible to have low level netwoking with python under Windows?
Like raw sockets?
Is it possible to send a single packet using python under windows?

Thank you

Yes
http://www.python.org/doc/2.4/lib/module-socket.html

Jul 18 '05 #4

P: n/a
Peter Hansen wrote:
ia*****@lycos.com wrote:
Is it possible to have low level netwoking with python under Windows?
Like raw sockets?
Is it possible to send a single packet using python under windows?

Google is your friend:

Try searching with "python sockets", for example...

(You *have* heard of Google, haven't you? It's been
in the news a bit lately...)


The OP may get 302'd though! ;-)

Jul 18 '05 #5

P: n/a
ia*****@lycos.com wrote:
Is it possible to have low level netwoking with python under Windows?
Like raw sockets?
Is it possible to send a single packet using python under windows?


Yes. But be aware of restrictions on raw sockets in XP SP2:

http://blogs.msdn.com/michael_howard...12/213611.aspx

and don't blame it on Python if it doesn't work :)

There's a way to overcome this, but it comes with its load of other
problems.

Anyway, this doesn't belong there, so

fu2 comp.os.ms-windows.networking.tcp-ip
Jul 18 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.