Re: GAPI -- Sharing a post to Social Networking Pages from my App

2016-03-22 Thread Karthik Reddy
On Wednesday, March 23, 2016 at 9:43:21 AM UTC+5:30, Karthik Reddy wrote: > On Tuesday, March 22, 2016 at 4:48:37 PM UTC+5:30, Steven D'Aprano wrote: > > On Tue, 22 Mar 2016 09:37 pm, Karthik Reddy wrote: > > > > > The error I am getting is "Uncaught ReferenceError: gapi is not defined" > > > >

Re: GAPI -- Sharing a post to Social Networking Pages from my App

2016-03-22 Thread Karthik Reddy
On Tuesday, March 22, 2016 at 4:48:37 PM UTC+5:30, Steven D'Aprano wrote: > On Tue, 22 Mar 2016 09:37 pm, Karthik Reddy wrote: > > > The error I am getting is "Uncaught ReferenceError: gapi is not defined" > > > Have you tried googling for it? That's a Javascript error: > > https://duckduckgo.c

Re: GAPI -- Sharing a post to Social Networking Pages from my App

2016-03-22 Thread Karthik Reddy
On Tuesday, March 22, 2016 at 4:55:40 PM UTC+5:30, Karthik Reddy wrote: > On Tuesday, March 22, 2016 at 4:48:37 PM UTC+5:30, Steven D'Aprano wrote: > > On Tue, 22 Mar 2016 09:37 pm, Karthik Reddy wrote: > > > > > The error I am getting is "Uncaught ReferenceError: gapi is not defined" > > > > >

Re: GAPI -- Sharing a post to Social Networking Pages from my App

2016-03-22 Thread Karthik Reddy
On Tuesday, March 22, 2016 at 4:48:37 PM UTC+5:30, Steven D'Aprano wrote: > On Tue, 22 Mar 2016 09:37 pm, Karthik Reddy wrote: > > > The error I am getting is "Uncaught ReferenceError: gapi is not defined" > > > Have you tried googling for it? That's a Javascript error: > > https://duckduckgo.c

Re: GAPI -- Sharing a post to Social Networking Pages from my App

2016-03-22 Thread Steven D'Aprano
On Tue, 22 Mar 2016 09:37 pm, Karthik Reddy wrote: > The error I am getting is "Uncaught ReferenceError: gapi is not defined" Have you tried googling for it? That's a Javascript error: https://duckduckgo.com/html/?q=uncaught+reference+error+gapi+is+not+defined -- Steven -- https://mail.py

Re: GAPI -- Sharing a post to Social Networking Pages from my App

2016-03-22 Thread Karthik Reddy
On Tuesday, March 22, 2016 at 9:54:53 AM UTC+5:30, Mark Lawrence wrote: > On 22/03/2016 04:14, Karthik Reddy wrote: > > Hi Experts, > > > > I am trying to post on facebook and google plus page from my application. > > I am using facebook-sdk an d I am able to post using local machine but I am >

Re: GAPI -- Sharing a post to Social Networking Pages from my App

2016-03-22 Thread Karthik Reddy
On Tuesday, March 22, 2016 at 9:54:53 AM UTC+5:30, Mark Lawrence wrote: > On 22/03/2016 04:14, Karthik Reddy wrote: > > Hi Experts, > > > > I am trying to post on facebook and google plus page from my application. > > I am using facebook-sdk an d I am able to post using local machine but I am >

Re: GAPI -- Sharing a post to Social Networking Pages from my App

2016-03-21 Thread Steven D'Aprano
On Tuesday 22 March 2016 15:14, Karthik Reddy wrote: > Hi Experts, > > I am trying to post on facebook and google plus page from my > application. I am using facebook-sdk an d I am able to post using local > machine but I am not able to post from dev server. > > Can Anyone Please help me on th

Re: GAPI -- Sharing a post to Social Networking Pages from my App

2016-03-21 Thread Mark Lawrence
On 22/03/2016 04:14, Karthik Reddy wrote: Hi Experts, I am trying to post on facebook and google plus page from my application. I am using facebook-sdk an d I am able to post using local machine but I am not able to post from dev server. Can Anyone Please help me on this. Thanks, Karthik

GAPI -- Sharing a post to Social Networking Pages from my App

2016-03-21 Thread Karthik Reddy
Hi Experts, I am trying to post on facebook and google plus page from my application. I am using facebook-sdk an d I am able to post using local machine but I am not able to post from dev server. Can Anyone Please help me on this. Thanks, Karthik -- https://mail.python.org/mailman/listinf

Re: tcp networking question (CLOSE_WAIT)

2016-02-25 Thread Ray
On Thursday, February 25, 2016 at 1:56:21 PM UTC-5, Martin A. Brown wrote: > Hello again Ray, > > >> >I'm new to python networking. I am waiting TCP server/client app by > >> >using python built-in SocketServer. My problem is if client get > >> >ki

Re: tcp networking question (CLOSE_WAIT)

2016-02-25 Thread Martin A. Brown
Hello again Ray, >> >I'm new to python networking. I am waiting TCP server/client app by >> >using python built-in SocketServer. My problem is if client get >> >killed, then the tcp port will never get released, in CLOSE_WAIT >> >> I did not thoroug

Re: tcp networking question (CLOSE_WAIT)

2016-02-25 Thread Ray
On Thursday, February 25, 2016 at 12:56:10 PM UTC-5, Ray wrote: > hi, > > I'm new to python networking. I am waiting TCP server/client app by using > python built-in SocketServer. My problem is if client get killed, then the > tcp port will never get released, in CLOSE_WAIT

Re: tcp networking question (CLOSE_WAIT)

2016-02-25 Thread Ray
On Thursday, February 25, 2016 at 1:18:05 PM UTC-5, Martin A. Brown wrote: > >I'm new to python networking. I am waiting TCP server/client app by > >using python built-in SocketServer. My problem is if client get > >killed, then the tcp port will never get released, in CL

Re: tcp networking question (CLOSE_WAIT)

2016-02-25 Thread Martin A. Brown
>I'm new to python networking. I am waiting TCP server/client app by >using python built-in SocketServer. My problem is if client get >killed, then the tcp port will never get released, in CLOSE_WAIT I did not thoroughly review your code (other than to see that you are not usin

tcp networking question (CLOSE_WAIT)

2016-02-25 Thread Ray
hi, I'm new to python networking. I am waiting TCP server/client app by using python built-in SocketServer. My problem is if client get killed, then the tcp port will never get released, in CLOSE_WAIT maybe I didn't do the handler right? or anyway I can catch the client get killed

Re: networking question: 2-way messaging w/o wireless modem config?

2014-04-17 Thread Chris Angelico
t at all. I'd definitely recommend doing networking code in Python. You can do basic TCP/IP sockets pretty much the same way in every language, but with high level languages like Python, you get extra facilities that C won't give - most notably, the urllib.request module [1]. Same goes for quit

Re: networking question: 2-way messaging w/o wireless modem config?

2014-04-17 Thread haiticare2011
On Thursday, April 17, 2014 12:38:46 PM UTC-4, Mark H. Harris wrote: > On 4/17/14 11:20 AM, hxaiticzzare2...@gmail.com wrote: > > > I have a Raspberry Pi board with a wireless usb modem on it. > > > I wish to be able to message 2-way with the board from > > > across the internet, without having

Re: networking question: 2-way messaging w/o wireless modem config?

2014-04-17 Thread Mark H Harris
On 4/17/14 11:20 AM, haiticare2...@gmail.com wrote: I have a Raspberry Pi board with a wireless usb modem on it. I wish to be able to message 2-way with the board from across the internet, without having to open ports on the wireless modem. Is there a way to do this? I have been looking at udp

networking question: 2-way messaging w/o wireless modem config?

2014-04-17 Thread haiticare2011
I have a Raspberry Pi board with a wireless usb modem on it. I wish to be able to message 2-way with the board from across the internet, without having to open ports on the wireless modem. Is there a way to do this? I have been looking at udp, but imagine that a udp packet is allowed in, but no

Re: Learning python networking

2014-01-15 Thread William Ray Wing
On Jan 15, 2014, at 7:52 AM, Chris Angelico wrote: [megabyte] > One of the fundamentals of the internet is that connections *will* > break. A friend of mine introduced me to Magic: The Gathering via a > program that couldn't handle drop-outs, and it got extremely > frustrating - we couldn't get

Re: Learning python networking

2014-01-15 Thread Chris Angelico
On Thu, Jan 16, 2014 at 3:43 AM, William Ray Wing wrote: > I was assuming another user picking up the connection using sniffed > credentials (and yes, despite all the work on ssh, not all man-in-the-middle > attacks have been killed). If that can happen, then I would much prefer that it kick my

Re: Learning python networking

2014-01-15 Thread William Ray Wing
On Jan 15, 2014, at 11:31 AM, Chris Angelico wrote: > On Thu, Jan 16, 2014 at 3:25 AM, William Ray Wing wrote: >> On Jan 15, 2014, at 7:52 AM, Chris Angelico wrote: >>> One of the fundamentals of the internet is that connections *will* >>> break. A friend of mine introduced me to Magic: The Gat

Re: Learning python networking

2014-01-15 Thread Chris Angelico
On Thu, Jan 16, 2014 at 3:31 AM, Chris Angelico wrote: > I'm assuming an authentication system > that stipulates one single active connection per authenticated user Incidentally, in an environment where everything's trusted (LAN or localhost), the "authentication system" can be as simple as "type

Re: Learning python networking

2014-01-15 Thread Chris Angelico
On Thu, Jan 16, 2014 at 3:25 AM, William Ray Wing wrote: > On Jan 15, 2014, at 7:52 AM, Chris Angelico wrote: >> One of the fundamentals of the internet is that connections *will* >> break. A friend of mine introduced me to Magic: The Gathering via a >> program that couldn't handle drop-outs, and

Re: Learning python networking

2014-01-15 Thread Chris Angelico
On Wed, Jan 15, 2014 at 11:52 PM, Chris Angelico wrote: > One of the fundamentals of the internet is that connections *will* > break. A friend of mine introduced me to Magic: The Gathering via a > program that couldn't handle drop-outs, and it got extremely > frustrating - we couldn't get a game g

Re: Learning python networking

2014-01-15 Thread Chris Angelico
On Thu, Jan 16, 2014 at 12:31 AM, Frank Millman wrote: > I think you may have omitted a line there - > > def gets(): > while '\n' not in buffer: > data = sock.recv(1024) > if not data: > # Client is disconnected, handle it gracefully > return None # or s

Re: Learning python networking

2014-01-15 Thread Frank Millman
"Chris Angelico" wrote in message news:CAPTjJmpb6yr-VpWypbJQn0a=pnjvnv2cchvbzak+v_5josq...@mail.gmail.com... > You just run a loop like this: > > buffer = b'' > > def gets(): >while '\n' not in buffer: >data = sock.recv(1024) >if not data: ># Client is disconnecte

Re: Learning python networking

2014-01-15 Thread Chris Angelico
On Wed, Jan 15, 2014 at 9:37 PM, Paul Pittlerson wrote: > I'm sorry if this is a bit late of a response, but here goes. > > Big thanks to Chris Angelico for his comprehensive reply, and yes, I do have > some questions! Best way to learn! And the thread's not even a week old, this isn't late. Som

Re: Learning python networking

2014-01-15 Thread Denis McMahon
ny more bytes to receive), or terminate it >> with a newline (which depends on there not being a newline in the >> text). > I don't understand. Can you show some examples of how to do this? How much do you understand about tcp/ip networking? because when trying to build something

Re: Learning python networking

2014-01-15 Thread Paul Pittlerson
I'm sorry if this is a bit late of a response, but here goes. Big thanks to Chris Angelico for his comprehensive reply, and yes, I do have some questions! > On Thursday, January 9, 2014 1:29:03 AM UTC+2, Chris Angelico wrote: > Those sorts of frameworks would be helpful if you need to scale to

Re: Learning python networking

2014-01-09 Thread Alister
On Wed, 08 Jan 2014 19:49:40 -0800, Dan Stromberg wrote: > > The third quote, from Brian Kernighan, seems to underestimate the > complexity of asynchronous programming in the large - it's probably not > just twice as hard. Perhaps it should be rephrased as "at least twice as hard" It really doe

Re: Learning python networking

2014-01-08 Thread Chris Angelico
On Thu, Jan 9, 2014 at 2:49 PM, Dan Stromberg wrote: > The third quote, from Brian Kernighan, seems to underestimate the > complexity of asynchronous programming in the large - it's probably > not just twice as hard. Yeah, which is why I recommended a threaded approach to the OP. It won't scale t

Re: Learning python networking

2014-01-08 Thread Dan Stromberg
On Wed, Jan 8, 2014 at 4:07 PM, Chris Angelico wrote: > Maybe it's not the best way to do things, but it can be extremely > simple in the code. For small projects, the added complexity doesn't bite you. At least, not much. For large projects, with thousands or millions of callbacks, it can be v

Re: Learning python networking

2014-01-08 Thread Chris Angelico
On Thu, Jan 9, 2014 at 10:53 AM, Dan Stromberg wrote: >> Using Python 3.4 (which isn't yet >> stable, but you can download betas) also gives you an asyncio module, >> but I'd leave that aside for the moment; first figure out threading, >> it's likely to be easier. > > Personally, I don't like asyn

Re: Learning python networking

2014-01-08 Thread Dan Stromberg
Nice response Chris. Seriously. On Wed, Jan 8, 2014 at 3:29 PM, Chris Angelico wrote: > One extremely critical point about your protocol. TCP is a stream - > you don't have message boundaries. You can't depend on one send() > becoming one recv() at the other end. It might happen to work when you

Re: Learning python networking

2014-01-08 Thread Chris Angelico
On Thu, Jan 9, 2014 at 9:27 AM, Paul Pittlerson wrote: > I'm trying to learn about socket, how to create and handle connections in > python. Awesome! I *love* socket networking. (Really. It's awesome. I've written a couple of MUD servers and quite a few MUD clients.) >

Learning python networking

2014-01-08 Thread Paul Pittlerson
I'm trying to learn about socket, how to create and handle connections in python. This is the best I could come up with on my own, please take a look and give me critique: Server script: http://pastebin.com/KtapYfM0 Client script: http://pastebin.com/t4dYygmX How to run it: I open 3 terminals,

Strange networking problems

2013-07-08 Thread saadharana
chennai -- View this message in context: http://python.6.x6.nabble.com/Strange-networking-problems-tp5024179.html Sent from the Python - python-list mailing list archive at Nabble.com. -- http://mail.python.org/mailman/listinfo/python-list

CFP: Computing, Networking and Digital Technologies

2012-09-04 Thread sdiwc conferences
We invite participation and submissions to The International Conference on Computing, Networking and Digital Technologies (ICCNDT 2012) that will be held at Gulf University, Sanad, Bahrain from Nov. 11-13, 2012. More details can be found at the conference's official web site, visit

Re: networking simulator on python

2009-06-08 Thread Paul McGuire
On Jun 8, 7:18 pm, Ala wrote: > Hello everyone. > > I plan on starting to write a network simulator on python for testing a > modified version of TCP. > > I am wondering if a python network simulator exists? Also, if anyone > tried using simpy for doing a simulation. > > Thank you There was an ar

networking simulator on python

2009-06-08 Thread Ala
Hello everyone. I plan on starting to write a network simulator on python for testing a modified version of TCP. I am wondering if a python network simulator exists? Also, if anyone tried using simpy for doing a simulation. Thank you -- http://mail.python.org/mailman/listinfo/python-list

Re: Twisted for non-networking applications

2008-12-22 Thread Bryan Olson
Kottiyath wrote: Is it a good idea to use Twisted inside my application, even though it has no networking part in it? Basically, my application needs lots of parallel processing - but I am rather averse to using threads - With or without threads, the Python interpreter does not do

Re: Twisted for non-networking applications

2008-12-21 Thread James Mills
On Mon, Dec 22, 2008 at 3:25 PM, RajNewbie wrote: > I was unable to see documentation explaining this - so asking again. Documentation is available here: http://trac.softcircuit.com.au/circuits/wiki/docs And here: pydoc circuits The code itself is heavily documented. I'm still writing better onl

Re: Twisted for non-networking applications

2008-12-21 Thread RajNewbie
On Dec 22, 3:26 am, "James Mills" wrote: > On Mon, Dec 22, 2008 at 4:27 AM, Kottiyath wrote: > > Hi all, > >   Is it a good idea to use Twisted inside my application, even though > > it has no networking part in it? > >   Basically, my application needs lots

Re: Twisted for non-networking applications

2008-12-21 Thread James Mills
On Mon, Dec 22, 2008 at 4:27 AM, Kottiyath wrote: > Hi all, > Is it a good idea to use Twisted inside my application, even though > it has no networking part in it? > Basically, my application needs lots of parallel processing - but I > am rather averse to using threads - due t

Twisted for non-networking applications

2008-12-21 Thread Kottiyath
Hi all, Is it a good idea to use Twisted inside my application, even though it has no networking part in it? Basically, my application needs lots of parallel processing - but I am rather averse to using threads - due to myraid issues it can cause. So, I was hoping to use a reactor pattern to

Re: Bidirectional Networking

2008-12-16 Thread Emanuele D'Arrigo
Thanks everybody and in particular Gabriel and Bryan for their contributions to this thread. Very much useful information. Manu -- http://mail.python.org/mailman/listinfo/python-list

Re: Bidirectional Networking

2008-12-14 Thread Bryan Olson
Brian Allen Vanderburg II wrote: As for the backlog (5), this doesn't mean that you can only have a maximum of 5 established connections. Each established connection gets a new socket object. But what I think it means is that during the listen for an incoming connection on the listening sock

Re: Bidirectional Networking

2008-12-14 Thread Bryan Olson
Emanuele D'Arrigo wrote: Bryan Olson wrote: Software firewalls will often simply refuse incoming connections. The basic protection of the garden-variety home router comes from "network address translation" (NAT), in which case TCP connections initiated from the inside will generally work, regard

Re: Bidirectional Networking

2008-12-14 Thread Gabriel Genellina
En Sun, 14 Dec 2008 11:00:18 -0200, Emanuele D'Arrigo escribió: On Dec 14, 4:10 am, "Gabriel Genellina" wrote: daemon became a property in Python 2.6; setDaemon was the only way to set it in previous versions. I thought that might be the case! The documentation is a bit vague: http://d

Re: Bidirectional Networking

2008-12-14 Thread Emanuele D'Arrigo
On Dec 14, 2:40 am, Brian Allen Vanderburg II wrote: > But what I think it means is that during the listen for an incoming > connection on the listening socket, if multiple connection attempts are > coming in at one time it can keep a backlog of up to 5 of these > connection attempts for that indi

Re: Bidirectional Networking

2008-12-14 Thread Emanuele D'Arrigo
On Dec 14, 4:10 am, "Gabriel Genellina" wrote: > daemon became a property in Python 2.6; setDaemon was the only way to set > it in previous versions. I thought that might be the case! The documentation is a bit vague: http://docs.python.org/library/threading.html?highlight=threading#threading.Th

Re: Bidirectional Networking

2008-12-13 Thread Gabriel Genellina
En Sat, 13 Dec 2008 13:03:17 -0200, Emanuele D'Arrigo escribió: On Dec 12, 9:04 pm, "Gabriel Genellina" wrote: If you're using 2.5 or older, override serve_forever: def serve_forever(self): while not getattr(self, 'quit', False): self.handle_request() and set the

Re: Bidirectional Networking

2008-12-13 Thread Brian Allen Vanderburg II
man...@gmail.com wrote: On Dec 13, 11:13 pm, Bryan Olson wrote: Software firewalls will often simply refuse incoming connections. The basic protection of the garden-variety home router comes from "network address translation" (NAT), in which case TCP connections initiated from the inside wil

Re: Bidirectional Networking

2008-12-13 Thread Emanuele D'Arrigo
On Dec 13, 11:13 pm, Bryan Olson wrote: > Software firewalls will often simply refuse incoming connections. The > basic protection of the garden-variety home router comes from "network > address translation" (NAT), in which case TCP connections initiated from > the inside will generally work, rega

Re: Bidirectional Networking

2008-12-13 Thread Bryan Olson
Emanuele D'Arrigo wrote: Hey Bryan, thank you for your reply! Bryan Olson wrote: Is it possible then to establish both a server and a client in the same application? Possible, and not all that hard to program, but there's a gotcha. Firewalls, including home routers and software firewalls, typi

Re: Bidirectional Networking

2008-12-13 Thread Emanuele D'Arrigo
Hey Bryan, thank you for your reply! On Dec 13, 3:51 am, Bryan Olson wrote: > > Is it possible then to establish both a server and a client in the > > same application? > > Possible, and not all that hard to program, but there's a gotcha. > Firewalls, including home routers and software firewalls

Re: Bidirectional Networking

2008-12-13 Thread Emanuele D'Arrigo
On Dec 13, 12:08 am, "James Mills" wrote: > Just as a matter of completeness for my own suggestion, here > is my implementation of your code (using circuits): It's longer! But I bet is a little bit more resilient against all sorts of problems that arise while using network connections. Well, tha

Re: Bidirectional Networking

2008-12-13 Thread Emanuele D'Arrigo
On Dec 12, 9:04 pm, "Gabriel Genellina" wrote: > If you're using 2.5 or older, override serve_forever: > > def serve_forever(self): > while not getattr(self, 'quit', False): > self.handle_request() > > and set the server 'quit' attribute to True in response to some comma

Re: Bidirectional Networking

2008-12-12 Thread Bryan Olson
Emanuele D'Arrigo wrote: All the examples though are based on a client interrogating a server, with the client initiating the connection, obtaining something and then closing the connection. Basically the server is a reactive party: only if the client get in touch the server respond. Indeed, to

Re: Bidirectional Networking

2008-12-12 Thread James Mills
Just as a matter of completeness for my own suggestion, here is my implementation of your code (using circuits): cheers James -- import random from circuits import listener, Event, Manager from circuits.lib.sockets import TCPServer, TCPClient class Server(TCPServer):

Re: Bidirectional Networking

2008-12-12 Thread Gabriel Genellina
En Fri, 12 Dec 2008 15:22:34 -0200, Emanuele D'Arrigo escribió: Thank you both for the suggestions! Eventually I tried with threading as illustrated in the code below. And it works pretty well! The only problem I'm having with it is that as the server is a daemon the program should end when t

Re: Bidirectional Networking

2008-12-12 Thread Emanuele D'Arrigo
Thank you both for the suggestions! Eventually I tried with threading as illustrated in the code below. And it works pretty well! The only problem I'm having with it is that as the server is a daemon the program should end when the client thread cease to be alive. But it doesn't seem to work that w

Re: Bidirectional Networking

2008-12-11 Thread Tobias Andersson
Emanuele D'Arrigo skrev: [...] What if the server wanted to notify the client of something of interest, i.e. new data that the client should take into consideration and potentially process? If the protocol is relatively simple perhaps you can implement something similar to IMAP's "IDLE":

Re: Bidirectional Networking

2008-12-11 Thread James Mills
Have a look at circuits. http://trac.softcircuit.com.au/circuits/ It's a general purpose event-driven framework with a focus on Component architectures and has a good set of Networking Components, specifically: circuits.lib.sockets * TCPServer * TCPClient * UDPServer * UDPClient (ali

Bidirectional Networking

2008-12-11 Thread Emanuele D'Arrigo
Hi everybody! A networking question! I've been looking at and tinkering a little with the various networking modules in python. The examples are pretty clear and a module such as the SimpleXMLRPCServer is actually simple! All the examples though are based on a client interrogating a server,

Re: Meetup in "Rapid prototyping in business & social networking in python"

2008-10-01 Thread Victor Bay
Hi, pythoners, I am planning a face-to-face meetup on RAD with python: http://python.meetup.com/190/ Depends on the time commitment frame of python developers, we meet monthly, weekly, or even daily, at convenient place like coffee society, library, bookstore, ..., etc. I will also be trying to

Re: low level networking in python

2007-04-06 Thread Maxim Veksler
On 4/4/07, Irmen de Jong <[EMAIL PROTECTED]> wrote: > Maxim Veksler wrote: > > > I'm trying to bind a non-blocking socket, here is my code: > > """ > > #!/usr/bin/env python > > > > import socket, select > > from time import sleep > > > > s_nb1 = socket.socket(socket.AF_INET, socket.SOCK_STREAM

Re: low level networking in python

2007-04-05 Thread billiejoex
> I wish to do some low level network stuff using python. > I've googled somewhat and came up with pylibpcap[1], trouble is I > can't compile it on my Ubuntu 6.10 workstation. I would suggest pcapy: http://oss.coresecurity.com/projects/pcapy.html Higher level, easier Object-Oriented API and suppor

Re: low level networking in python

2007-04-04 Thread Irmen de Jong
's done with the requested operation. --Irmen > > p.s. > I've looked at twisted before posting this post. I've seen they > impelement alot of application level protocols but I didn't see much > treatment for low level "raw" network data, not to mention that it's a > way way over kill for what I'm asking to achieve. Twisted does have a > subproject called "Twisted Pair: Low-level networking" but sadly it's > unmaintained and undocumented. > >> Mike >> > > Maxim. > > -- http://mail.python.org/mailman/listinfo/python-list

Re: low level networking in python

2007-04-03 Thread Maxim Veksler
= self._sock.accept() socket.error: (11, 'Resource temporarily unavailable') """ What am I doing wrong here? p.s. I've looked at twisted before posting this post. I've seen they impelement alot of application level protocols but I didn't see much treatment for l

Re: low level networking in python

2007-04-03 Thread Steve Holden
[EMAIL PROTECTED] wrote: > On Apr 3, 10:29 am, "Maxim Veksler" <[EMAIL PROTECTED]> wrote: >> Hello, >> >> I wish to do some low level network stuff using python. >> >> I've googled somewhat and came up with pylibpcap[1], trouble is I >> can't compile it on my Ubuntu 6.10 workstation. Can someone pl

Re: low level networking in python

2007-04-03 Thread kyosohma
On Apr 3, 10:29 am, "Maxim Veksler" <[EMAIL PROTECTED]> wrote: > Hello, > > I wish to do some low level network stuff using python. > > I've googled somewhat and came up with pylibpcap[1], trouble is I > can't compile it on my Ubuntu 6.10 workstation. Can someone please > suggest a way to read some

low level networking in python

2007-04-03 Thread Maxim Veksler
Hello, I wish to do some low level network stuff using python. I've googled somewhat and came up with pylibpcap[1], 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 tha

The blog on Pc trouble shooting skills,Networking,Linux

2007-01-24 Thread lucky
HI Friends This blog is very useful to all sections of people. For Pc trouble shooting skills,Linux,Html Webdesigning,Free softwares,Networking skills,Gaming news and For Tips visit the blog: http://technodata.blogspot.com -- http://mail.python.org/mailman/listinfo/python-list

Debugging/Networking ?s.

2006-10-26 Thread Michael B. Trausch
I am having a little bit of trouble figuring out what to do about a problem that I am having with the program I am working with. I had it working yesterday, and up through till this morning. I hadn't thought about putting it in version control until now, so whatever it was I did, I can't just hit

networking

2005-08-29 Thread amf
I'm seeking learn more about Python, and specifically to talk with people in the greater Boston, MA area. Can anyone suggest the best way to do this? Feel free to contact me offline: [EMAIL PROTECTED] Amf -- http://mail.python.org/mailman/listinfo/python-list

Re: Newbie.......Python and Networking

2005-05-05 Thread xeron
Thanks again, and i didn't peek...planning to do it later have my exams for next 14 days then I'll zero in on Python... -- http://mail.python.org/mailman/listinfo/python-list

Re: Newbie.......Python and Networking

2005-05-05 Thread phil
xeron wrote: > Thanks phil, I think I'll start off with your chat prog (UDP-- 50 lines > code ) and then try for routing and firewall scripts for linux, yepp > that would be really tough but why not give it a try, i am going to > have my vacations for like 13 days so will be preparing for my CCNA

Re: Newbie.......Python and Networking

2005-05-05 Thread xeron
Thanks phil, I think I'll start off with your chat prog (UDP-- 50 lines code ) and then try for routing and firewall scripts for linux, yepp that would be really tough but why not give it a try, i am going to have my vacations for like 13 days so will be preparing for my CCNA and also learning pyth

Re: Newbie.......Python and Networking

2005-05-04 Thread phil
xeron wrote: > Hi ya fellas > > I am planning to learn Python, and because i have a networking > background so would like to direct my learning in a way that is > beneficial to my tasks in the mentioned field, please suggest a couple > of projects which i can implement s

Newbie.......Python and Networking

2005-05-04 Thread xeron
Hi ya fellas I am planning to learn Python, and because i have a networking background so would like to direct my learning in a way that is beneficial to my tasks in the mentioned field, please suggest a couple of projects which i can implement so as to accelerate the learning process

Re: Windows, Python and low level networking

2005-03-23 Thread fraca7
[EMAIL PROTECTED] 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/archive/2004/08/12/213

Re: Windows, Python and low level networking

2005-03-23 Thread Martin Franklin
Peter Hansen wrote: [EMAIL PROTECTED] 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 Go

Re: Windows, Python and low level networking

2005-03-23 Thread Martin Franklin
[EMAIL PROTECTED] 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 -- http://mail.python.org/mailman/listinfo/python-li

Re: Windows, Python and low level networking

2005-03-23 Thread Peter Hansen
[EMAIL PROTECTED] 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? I

Re: Windows, Python and low level networking

2005-03-23 Thread Jaime Wyant
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, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Is it possible to have low level netwoking with python under Wi

Windows, Python and low level networking

2005-03-23 Thread ias0nas
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