Path: csiph.com!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail From: Joaquin Alzola Newsgroups: comp.lang.python Subject: RE: Remote Rsponse Socket Connection Date: Fri, 11 Mar 2016 14:31:00 +0000 Lines: 17 Message-ID: References: <87y49pf889.fsf@elektro.pacujo.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: news.uni-berlin.de 5pmW3MfGVG2Qvio3foNGAgxb/LiyvfYCdnSqPpZVWRUg== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.060 X-Spam-Evidence: '*H*': 0.88; '*S*': 0.00; 'data:': 0.07; 'socket': 0.07; 'decode': 0.16; 'hex': 0.16; 'mixture': 0.16; 'privilege.': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'to:name :python-list@python.org': 0.20; 'to:2**1': 0.21; 'ascii': 0.22; 'header:In-Reply-To:1': 0.24; 'url:mailman': 0.30; 'url:python': 0.33; 'url:listinfo': 0.34; 'info': 0.34; 'but': 0.36; 'url:org': 0.36; 'url:library': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'received:10': 0.37; 'charset:us-ascii': 0.37; 'thank': 0.38; 'url:mail': 0.40; 'to:addr:python.org': 0.40; 'url:3': 0.60; 'more': 0.63; 'contact': 0.66; 'reply': 0.68; 'subject': 0.70; 'disclose': 0.71; 'connection.': 0.76 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=UoVKj4j0CNq4M/EkCMCt5QbDEQNb4FE+9RJYlgsb70c=; b=UWVqd4hcsw+cLcqzo7xXkEB92m5OpyZ7vf7kqAXd9vik61H90oES4IXQbjAVpe8jRYRatqPrCBFYLcRjfwAVdJg6oFenVB7/bblpeLceNP0qpjWKV7XYmVmAgO7f2ZYQirWBQJ2xQJZzXAJcB5myI26mOmSUGhSX96luByA8fIw= Thread-Topic: Remote Rsponse Socket Connection Thread-Index: AQHRe5rZKA7P0NouRA6MNYCimKm4eJ9UTeJw In-Reply-To: <87y49pf889.fsf@elektro.pacujo.net> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: pacujo.net; dkim=none (message not signed) header.d=none;pacujo.net; dmarc=none action=none header.from=lebara.com; x-originating-ip: [165.225.80.109] x-ms-office365-filtering-correlation-id: 85873156-4ea0-417f-4c3d-08d349b9c455 x-microsoft-exchange-diagnostics: 1; DB5PR07MB1495; 5:BTGh6yyNVg+PC91gpkajhl5gjo5OvAT9F8lsAZGGq8xncWROGoMDLa3t6llL1cBZuNwqDkDorwztw6GFV06O9SLHzIRLMTVm0fImmpqrwQceeYeriAlmxq9rbAVXt8XZB6511sdSQ/n44ga1ce+xiw==; 24:BqJee9DC8imgqS5NhIgXKgLf05H0KYExz4FtZQ45ycTJw27D7BmWRbQf+95937CQkmUhV2gzZdiISZZonlpcUkJjnymAqrUY5aQ7yoV7gUs= x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DB5PR07MB1495; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001); SRVR:DB5PR07MB1495; BCL:0; PCL:0; RULEID:; SRVR:DB5PR07MB1495; x-forefront-prvs: 087894CD3C x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(122556002)(1220700001)(2501003)(3846002)(102836003)(3660700001)(1096002)(2950100001)(3480700003)(6116002)(586003)(86362001)(5001770100001)(2906002)(77096005)(11100500001)(15975445007)(189998001)(76576001)(87936001)(3280700002)(107886002)(2900100001)(50986999)(92566002)(76176999)(10400500002)(54356999)(5008740100001)(33656002)(66066001)(5002640100001)(106116001)(5003600100002)(81166005)(19580395003)(74316001)(5004730100002); DIR:OUT; SFP:1102; SCL:1; SRVR:DB5PR07MB1495; H:DB5PR07MB1496.eurprd07.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; spamdiagnosticoutput: 1:23 spamdiagnosticmetadata: NSPM X-OriginatorOrg: lebara.com X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Mar 2016 14:31:00.0292 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: d7093539-83cd-4991-b1b3-aacef74cf097 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR07MB1495 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:104619 > I received this from a socket connection. This is the received data: > > Adding more info --> the response is a mixture of hex numbers + ascii > > [...] > > How is the best way to decode such reply from server? >https://docs.python.org/3/library/struct.html#examples Thank Marko will take alook into it. Marko -- https://mail.python.org/mailman/listinfo/python-list 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 cont= act the sender immediately upon receipt.