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 5 1916
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.c om <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 ia*****@lycos.c om 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
Peter Hansen wrote: ia*****@lycos.c om 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! ;-) ia*****@lycos.c om 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.network ing.tcp-ip This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Matt Leslie |
last post by:
Hi,
I'm trying to use microthreads under stackless python, since they sound
like exactly what I am after, but I am having very little success.
I've got a fresh install of python 2.3.3 from python.org, then
downloaded the binary python2.3 release of stackless python from
www.stackless.com. This contained three files:
python23.dll, python23.lib, python23.exp
|
by: Alexander May |
last post by:
Hi,
I love Python! I've been using it for a couple of years now and have found
it to be a highly productive language. I evangelize it to my developer
friends and am probably responsible for the sale of at least 10 Alex
Martelli books. I am now in the fortunate position of being able to use
Python for a large project, and as such I have a question.
We are developing a distributed application running on approximately six
thousand...
|
by: flyaflya |
last post by:
I want make a desktop game suports LAN connect, but pygame has nothing
about network.How to let pygame suport LAN connect? have you some
examples or articles about LAN connect?
|
by: Hal Vaughan |
last post by:
I'm self taught and most of what I've been working on for the past several
years has been entirely in Perl and Java. I've noticed that I can code
about 5 times faster in Perl than Java, in part because I feel like
whenever I want to do something in Java, I have to create an object, do a
few preperatory things, then do what I need, but in Perl, I just call the
routine.
Java, however, does much better at cross platform apps, especially if...
|
by: corey.coughlin |
last post by:
Alright, so I've been following some of the arguments about enhancing
parallelism in python, and I've kind of been struck by how hard things
still are. It seems like what we really need is a more pythonic
approach. One thing I've been seeing suggested a lot lately is that
running jobs in separate processes, to make it easy to use the latest
multiprocessor machines. Makes a lot of sense to me, those processors
are going to be more and...
| |
by: thorley |
last post by:
Greetings,
I'm interested in a simple content-based internet firewall/filter,
similar to dansguardian (http://dansguardian.org/), but written in
python, and for windows. I assumed such a project would already exist,
but my searches on freshmeat, and google turned up empty. I would be
interested in starting my own project if necessary, so I have two
questions:
1) Does any one no of such a project?
|
by: lennart |
last post by:
Hi,
I'm planning to learn a language for 'client' software. Until now, i
'speak' only some web based languages, like php. As a kid i programmed
in Basic (CP/M, good old days :'-) ) Now i want to start to learn a
(for me) new computer language.
I like Python. Its free, easy to learn and some favorite programs of my
are written in Python / can understand Python (like OpenOffice) etc.
|
by: Phoe6 |
last post by:
Hi all,
I am trying to disable the NIC card (and other cards) enabled in my
machine to test diagnostics on that card.
I am trying to disable it programmatic using python. I checked python
wmi and i could not find ways to disable/enable, (listing is however,
possible).
Where should I look for to enable/disable devices in python.
Thanks,
|
by: Maxim Veksler |
last post by:
Hello,
I wish to do some low level network stuff using python.
I've googled somewhat and came up with pylibpcap, trouble is I
can't compile it on my Ubuntu 6.10 workstation. Can someone please
suggest a way to read some bits from random ports? I'm looking to
write a simple pen-testing tool that would try from one side
connecting to ports and from the other side sniff traffic to see on
what ports traffic is coming.
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| | |