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


Groups > comp.lang.python > #104615

RE: Remote Rsponse Socket Connection

Path csiph.com!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From Joaquin Alzola <Joaquin.Alzola@lebara.com>
Newsgroups comp.lang.python
Subject RE: Remote Rsponse Socket Connection
Date Fri, 11 Mar 2016 13:17:15 +0000
Lines 20
Message-ID <mailman.20.1457702244.26429.python-list@python.org> (permalink)
Mime-Version 1.0
Content-Type text/plain; charset="us-ascii"
Content-Transfer-Encoding quoted-printable
X-Trace news.uni-berlin.de hOjumSsgjLP/exYFZFW2OweVHIKxzvaX8EZkq5UIC23A==
Return-Path <Joaquin.Alzola@lebara.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.053
X-Spam-Evidence '*H*': 0.89; '*S*': 0.00; 'data:': 0.07; 'socket': 0.07; 'python': 0.10; 'decode': 0.16; 'hex': 0.16; 'mixture': 0.16; 'privilege.': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'skip:b 190': 0.16; 'to:name:python-list@python.org': 0.20; 'ascii': 0.22; 'function': 0.28; 'info': 0.34; 'but': 0.36; 'url:org': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'received:10': 0.37; 'url:rec-html40': 0.37; 'charset:us-ascii': 0.37; 'guys': 0.38; 'data': 0.39; 'to:addr:python.org': 0.40; 'url:schemas': 0.40; 'url:office': 0.40; 'more': 0.63; 'contact': 0.66; 'reply': 0.68; 'subject': 0.70; 'disclose': 0.71; 'connection.': 0.76; '&agrave;': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=lebara.onmicrosoft.com; s=selector1-lebara-com; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=zicufMupDGr6liN8idwh5/5GKyhpDMzm2eR9FROnRoQ=; b=DdtYTXupAecyS6sw1xVSzmjohF7XHHBCtSwsRJCn4kesuOSvmu+s5owytgqau5g/30mTHcLNFBFPru38T3uFBzlLMweLpZq7uqliBA0oPgJ0hHcdPV5+/P2WN6sw86QhPBu/UcLf0oDtnoAlzbfGgpAfYfNm7Cgz6lLxiH1BHy0=
Thread-Topic Remote Rsponse Socket Connection
Thread-Index AdF7K1NqKA7P0NouRA6MNYCimKm4eAAajLWg
Accept-Language en-GB, en-US
Content-Language en-US
X-MS-Has-Attach
X-MS-TNEF-Correlator
authentication-results python.org; dkim=none (message not signed) header.d=none;python.org; dmarc=none action=none header.from=lebara.com;
x-originating-ip [165.225.80.109]
x-ms-office365-filtering-correlation-id cfd4d3f2-1206-4088-1b98-08d349af7764
x-microsoft-exchange-diagnostics 1; DB5PR07MB1493; 5:LIv2W4X+XgaMG1egOHyQQ/V8/gfgMWsPIaZLgmozlgc3lw4HzzsRqOhrUOweuW3VItfb9TSkQFJSOiCWc0MhYNWD1zD/rh9v8HHUkzaRUb96U7qV4t3O6VbWoIOkWUf3Pnxsbes0gVxIjlr+DP/enQ==; 24:e/RNuXtxibZ16fuAMrV4SHPyjLmby+3yOdNdm2+gdi5KNnEL4NUAUHIyhca3qIUvzx4hrXKF5rMAtHrVV5Dr+ggM/GepRI2FKWI5KadBEx0=
x-microsoft-antispam UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DB5PR07MB1493;
x-microsoft-antispam-prvs <DB5PR07MB14937B92232AA1540DBAB458F0B50@DB5PR07MB1493.eurprd07.prod.outlook.com>
x-exchange-antispam-report-test UriScan:;
x-exchange-antispam-report-cfa-test BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001); SRVR:DB5PR07MB1493; BCL:0; PCL:0; RULEID:; SRVR:DB5PR07MB1493;
x-forefront-prvs 087894CD3C
x-forefront-antispam-report SFV:NSPM; SFS:(10019020)(6009001)(107886002)(11100500001)(586003)(450100001)(33656002)(54356999)(3480700003)(10400500002)(5002640100001)(110136002)(50986999)(19300405004)(5008740100001)(19625215002)(5004730100002)(81166005)(92566002)(87936001)(122556002)(86362001)(1220700001)(3660700001)(575784001)(3280700002)(1096002)(2900100001)(16236675004)(5630700001)(2351001)(2906002)(102836003)(5640700001)(19580395003)(2501003)(3846002)(77096005)(76576001)(15975445007)(74316001)(189998001)(66066001)(6116002)(5003600100002)(790700001); DIR:OUT; SFP:1102; SCL:1; SRVR:DB5PR07MB1493; H:DB5PR07MB1496.eurprd07.prod.outlook.com; FPR:; SPF:None; MLV:ovrnspm; PTR:InfoNoRecords; LANG:en;
spamdiagnosticoutput 1:23
spamdiagnosticmetadata NSPM
X-OriginatorOrg lebara.com
X-MS-Exchange-CrossTenant-originalarrivaltime 11 Mar 2016 13:17:15.9744 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader Hosted
X-MS-Exchange-CrossTenant-id d7093539-83cd-4991-b1b3-aacef74cf097
X-MS-Exchange-Transport-CrossTenantHeadersStamped DB5PR07MB1493
X-Content-Filtered-By Mailman/MimeDel 2.1.21
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.21
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Xref csiph.com comp.lang.python:104615

Show key headers only | View raw


HI Guys

I received this from a socket connection. This is the received data:

Adding more info --> the response is a mixture of hex numbers + ascii

>From python function --> data = s.recv(2048)

b'\x01\x00\x00D\x00\x00\x01\x18\x00\x00\x00\x00p2E\xe1+\xe8xG\x00\x00\x01\x08@\x00\x00\x0bmmm\x00\x00\x00\x01(@\x00\x00\x16mmm.xxxxxx.com\x00\x00\x00\x00\x01\x0c@\x00\x00\x0c\x00\x00\x07\xd1'

How is the best way to decode such reply from server?

BR

Joaquin
This email is confidential and may be subject to privilege. If you are not the intended recipient, please do not copy or disclose its content but contact the sender immediately upon receipt.

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


Thread

RE: Remote Rsponse Socket Connection Joaquin Alzola <Joaquin.Alzola@lebara.com> - 2016-03-11 13:17 +0000
  Re: Remote Rsponse Socket Connection Marko Rauhamaa <marko@pacujo.net> - 2016-03-11 15:35 +0200
    RE: Remote Rsponse Socket Connection Joaquin Alzola <Joaquin.Alzola@lebara.com> - 2016-03-11 14:31 +0000

csiph-web