Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #44835
| References | <4aef55bd-f550-4a3d-b11a-285b6fa9892b@googlegroups.com> <5184d6e7$0$15976$e4fe514c@news.xs4all.nl> <5456a5e5-17f6-4e9a-a29c-490a17c1de44@googlegroups.com> |
|---|---|
| Date | 2013-05-07 02:05 +1000 |
| Subject | Re: socket programming |
| From | Chris Angelico <rosuav@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1365.1367856345.3114.python-list@python.org> (permalink) |
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