Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Wed, 10 Oct 2001 15:15:38 +1100 From: "Alexandr V. Shutko" X-Mailer: The Bat! (v1.48c) Personal Reply-To: "Alexandr V.Shutko" Organization: KhSTU X-Priority: 3 (Normal) Message-ID: <108529621004.20011010151538@mail.khstu.ru> To: cygwin AT cygwin DOT com Subject: Re: BUG in sendto() function Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------E38424D15F16BB6" ------------E38424D15F16BB6 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello cygwin, >> Could you please create a very simple example application to >> reproduce the problem? From what I see in the Cygwin code >> I can't find an obvious problem. I wrote simple test program and it show problem... Well... Also I can't figure out how to subscribe to this mail list ? I found your reply in maillist archives.... -- With respect, Alexandr V. Shutko mailto:AVShutko AT mail DOT khstu DOT ru ------------E38424D15F16BB6 Content-Type: application/octet-stream; name="test.cpp" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="test.cpp" I2luY2x1ZGUgPHN5cy90eXBlcy5oPg0KI2luY2x1ZGUgPHN5cy9zb2NrZXQuaD4NCiNpbmNsdWRl IDxlcnJuby5oPg0KI2luY2x1ZGUgPHN0ZGlvLmg+DQojaW5jbHVkZSA8c3RyaW5nLmg+DQojaW5j bHVkZSA8c3lzL3VuLmg+DQojaW5jbHVkZSA8dW5pc3RkLmg+DQoNCmludCBtYWluKCkNCnsNCiAg IGludCBwaXBlX2ZkLCBzZW5kX3NpemU7DQogICBzdHJ1Y3Qgc29ja2FkZHJfdW4gcGlwZV9hZGRy Ow0KICAgc29ja2xlbl90IHBpcGVfYWRkcmxlbjsNCiAgIGNoYXIgYnVmWzEwMF07DQoNCiAgIC8q IGNyZWF0aW5nIHRlc3QgdW5peCBkb21haW4gc29ja2V0IHBpcGUgKi8NCiAg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zdHJl cnJvcihlcnJubykpOw0KICAgfQ0KfQ0K ------------E38424D15F16BB6 Content-Type: text/plain; charset=us-ascii -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ ------------E38424D15F16BB6--