Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #44835
| Path | csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.008 |
| X-Spam-Evidence | '*H*': 0.98; '*S*': 0.00; 'linux,': 0.07; 'socket': 0.07; 'twisted,': 0.07; 'cheers': 0.12; 'windows': 0.15; 'bind': 0.16; 'bsd': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:programming': 0.16; 'twisted': 0.16; 'language': 0.16; 'wrote:': 0.18; 'module': 0.19; 'seems': 0.21; 'machine': 0.22; 'programming': 0.22; 'library,': 0.24; "i've": 0.25; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'thus': 0.29; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'reply.': 0.31; 'though.': 0.31; 'yourself.': 0.31; "can't": 0.35; 'received:google.com': 0.35; 'add': 0.35; 'programming,': 0.36; 'doing': 0.36; 'thanks': 0.36; "i'll": 0.36; 'server': 0.38; 'to:addr:python-list': 0.38; 'short': 0.38; 'to:addr:python.org': 0.39; 'how': 0.40; 'commands': 0.60; 'is.': 0.60; 'direct': 0.67; 'yourself': 0.78; '2013': 0.98 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=vWPj68rsg7XGecOMfEa1QLyzT81CyJRDmQwHK6U2Ph8=; b=U7w6n0v3u1GjhEDuitDsylPW4XMq1YsbAEVNWSeylHvW1IxjdNx1gXZqjHog2ODvyj UXV/I6jLHm4SwQ/VBc6pI/ZvE6xoIezEctR83+VHyo6E3+JLQYr6EC0wuK+54pd3hH2N /Y2c4dxCd2O8gvF6uhj3WRsvOyWgY35vOX2wKKJszX7civr3lFa4KeKhY/cd2MhozpOf cd2/gKLNP/01DZ7NhsVcuuR2mhiy1bbnc2gSEUUu9DyPE1bsoUGHX0fQvhCFEBoAQ7i4 ASJvfK5mB6vCB+PIClWUtcI/ZJ3MwiL95RSs21KqMdnwHpHkXzgpd1dmhRAZg30/FMmT lc7Q== |
| MIME-Version | 1.0 |
| X-Received | by 10.52.37.109 with SMTP id x13mr6071967vdj.10.1367856343241; Mon, 06 May 2013 09:05:43 -0700 (PDT) |
| In-Reply-To | <5456a5e5-17f6-4e9a-a29c-490a17c1de44@googlegroups.com> |
| References | <4aef55bd-f550-4a3d-b11a-285b6fa9892b@googlegroups.com> <5184d6e7$0$15976$e4fe514c@news.xs4all.nl> <5456a5e5-17f6-4e9a-a29c-490a17c1de44@googlegroups.com> |
| Date | Tue, 7 May 2013 02:05:43 +1000 |
| Subject | Re: socket programming |
| From | Chris Angelico <rosuav@gmail.com> |
| To | python-list@python.org |
| Content-Type | text/plain; charset=ISO-8859-1 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1365.1367856345.3114.python-list@python.org> (permalink) |
| Lines | 14 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1367856345 news.xs4all.nl 15968 [2001:888:2000:d::a6]:32846 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:44835 |
Show key headers only | View raw
On Tue, May 7, 2013 at 1:54 AM, Pedro <pedro@ncf.ca> wrote: > Thanks for the reply. I'm sending short strings as commands to my server machine so the socket module seems to be doing the trick reliably. I'll try to add Twisted to my arsenal though. > Cheers I've never used Twisted, so I can't say how good it is. All I know is that what I learned about socket programming in C on OS/2 is still valid on Windows and on Linux, and in every language I've ever used (bar JavaScript and ActionScript, which are deliberately sandboxed and thus don't have direct socket calls available). So take your pick: Go with Twisted, and bind yourself to a particular library, or go with BSD sockets, and do the work yourself. Like everything else in programming, it's a tradeoff. ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
socket programming Pedro <pedro@ncf.ca> - 2013-05-03 19:13 -0700
Re: socket programming Chris Angelico <rosuav@gmail.com> - 2013-05-04 12:23 +1000
Re: socket programming Pedro <pedro@ncf.ca> - 2013-05-03 20:37 -0700
Re: socket programming Chris Angelico <rosuav@gmail.com> - 2013-05-04 13:56 +1000
Re: socket programming Pedro <pedro@ncf.ca> - 2013-05-03 21:03 -0700
Re: socket programming Irmen de Jong <irmen.NOSPAM@xs4all.nl> - 2013-05-04 11:37 +0200
Re: socket programming Chris Angelico <rosuav@gmail.com> - 2013-05-04 20:00 +1000
Re: socket programming Pedro <pedro@ncf.ca> - 2013-05-06 08:54 -0700
Re: socket programming Chris Angelico <rosuav@gmail.com> - 2013-05-07 02:05 +1000
Re: socket programming Arnaud Delobelle <arnodel@gmail.com> - 2013-05-06 19:54 +0100
csiph-web