Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #44707

Re: socket programming

References <4aef55bd-f550-4a3d-b11a-285b6fa9892b@googlegroups.com> <5184d6e7$0$15976$e4fe514c@news.xs4all.nl>
Date 2013-05-04 20:00 +1000
Subject Re: socket programming
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.1286.1367661647.3114.python-list@python.org> (permalink)

Show all headers | View raw


On Sat, May 4, 2013 at 7:37 PM, Irmen de Jong <irmen.NOSPAM@xs4all.nl> wrote:
> Bottom line:
> Socket programming on this level is hugely complicated. It doesn't seem too bad if you
> start of with these simple example programs, but that's false hope. If at all possible,
> avoid direct socket programming, and use a high-level protocol or library instead
> (ftp/http/some IPC library/Twisted). Let them deal with the complexity of the socket layer.
>

It's not quite as bad as this paragraph seems to imply. Sure, there
are a million things that can go wrong, but once you master that, it's
the very easiest way to do cross-language, cross-platform,
cross-computer communication. Practically EVERY language can do basic
TCP sockets, but not every language has higher level bindings.

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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