[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pnet-developers] [bug #20885] Using async socket methods prevents progr
From: |
Radek Polak |
Subject: |
[Pnet-developers] [bug #20885] Using async socket methods prevents program to exit |
Date: |
Fri, 24 Aug 2007 14:14:39 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.5) Gecko/20060731 Ubuntu/dapper-security Firefox/1.5.0.5 |
URL:
<http://savannah.gnu.org/bugs/?20885>
Summary: Using async socket methods prevents program to exit
Project: DotGNU Portable.NET
Submitted by: radekp
Submitted on: Friday 08/24/2007 at 14:14
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
Hi,
after using async operation on socket e.g. Socket.BeginAccept() the program
does not terminate. It just hangs forever or until client is accepted.
Attached is a sample program - on .NET it prints "Ending..." and after one
second it exits. On pnet it prints "Ending..." and never exits unless client
is connnected to the socket (e.g. by running command telnet localhost 8000).
IMO the problem is, that async method call starts a new thread, that is
preventing ilrun to exit.
Any comments or patches are welcome.
Thanks Radek
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Friday 08/24/2007 at 14:14 Name: ConsoleApp4.tar.gz Size: 2kB By:
radekp
sample application
<http://savannah.gnu.org/bugs/download.php?file_id=13786>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?20885>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pnet-developers] [bug #20885] Using async socket methods prevents program to exit,
Radek Polak <=