Windows, Python and low level networking

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • ias0nas@lycos.com

    #1

    Windows, Python and low level networking

    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

  • Jaime Wyant

    #2
    Re: Windows, Python and low level networking

    Maybe this will help.
    [color=blue]
    >From the interpreter ->[color=green][color=darkred]
    >>> import socket
    >>> help(socket)[/color][/color][/color]

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

    jw


    On 23 Mar 2005 08:08:04 -0800, ias0nas@lycos.c om <ias0nas@lycos. com> wrote:[color=blue]
    > 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
    >[/color]

    Comment

    • Peter Hansen

      #3
      Re: Windows, Python and low level networking

      ias0nas@lycos.c om wrote:[color=blue]
      > 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?[/color]

      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

      Comment

      • Martin Franklin

        #4
        Re: Windows, Python and low level networking

        ias0nas@lycos.c om wrote:[color=blue]
        > 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
        >[/color]
        Yes




        Comment

        • Martin Franklin

          #5
          Re: Windows, Python and low level networking

          Peter Hansen wrote:[color=blue]
          > ias0nas@lycos.c om wrote:
          >[color=green]
          >> 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?[/color]
          >
          >
          > 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...)
          >[/color]

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

          Comment

          • fraca7

            #6
            Re: Windows, Python and low level networking

            ias0nas@lycos.c om wrote:
            [color=blue]
            > 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?[/color]

            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

            Comment

            Working...