Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.016 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'python.': 0.02; 'cpython': 0.05; 'socket': 0.07; 'subject:question': 0.10; 'python': 0.11; 'systems.': 0.12; 'windows': 0.15; 'non-python': 0.16; 'sockets': 0.16; 'underlying': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; 'written': 0.21; 'header:User-Agent:1': 0.23; 'java': 0.24; 'header:In-Reply-To:1': 0.27; 'point': 0.28; 'linux.': 0.31; 'running': 0.33; 'something': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'message-id:@gmail.com': 0.38; 'to:addr:python- list': 0.38; 'to:addr:python.org': 0.39; 'miller': 0.60; 'traffic': 0.61; 'special': 0.74; '3.3.1': 0.84; '9.1': 0.84; 'freebsd': 0.84; 'source?': 0.84; 'capture': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=1XbvGEHqo7wxRID195akgqHw3hTUAvugMir4fJJJhro=; b=U+xiUWKoPEJvN6poZQrS0VGTjhjbGXznHIGxhw8J9TA6xcH1AFM3okIJStFDAA1mY4 F2QS/xtOm0BUmmakd/ikLUUpUyLvsEcJMhzXZl4gkfBUV5r9cTL1HkRuYGvazUV1FjWg RPL1d/EjLUv/5R8urIpI4o3TMM4VlO/6VO7Pd/mFq1YSZ0V2+VZMM3/FpVJMKFphFOVd /MugPPVfSBv4+slw/QObKaCtYUeYetGMb8tEU7fTx+Qpo5+ihs9zQLYLnEJF8GRUOwDz WvCFOoToYrFWxQBgJnW5FivwUJTjStygFrfSBdODcFg1nQpQ6bIrgb+NyZ6jw/wfZsRj OROQ== X-Received: by 10.42.190.74 with SMTP id dh10mr10845269icb.35.1368671301008; Wed, 15 May 2013 19:28:21 -0700 (PDT) Date: Wed, 15 May 2013 21:28:17 -0500 From: Andrew Berg User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: "comp.lang.python" Subject: Re: python sockets question References: <6aa0447a-e6eb-47b7-9444-71922dad82e7@googlegroups.com> In-Reply-To: <6aa0447a-e6eb-47b7-9444-71922dad82e7@googlegroups.com> X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 8 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1368671311 news.xs4all.nl 15921 [2001:888:2000:d::a6]:41043 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:45390 On 2013.05.15 20:47, Eric Miller wrote: > Can python sockets be used to capture IP traffic when the traffic is originating from a non-python source? Python just exposes the underlying OS socket interface. There is nothing special about sockets in Python. The whole point is to connect heterogeneous systems. I can use Python on Windows to create a client that will connect to a service written in C running on Solaris or to something written in Java running on Linux. -- CPython 3.3.1 | Windows NT 6.2.9200 / FreeBSD 9.1