PC Review


Reply
Thread Tools Rate Thread

detecting the socket that cause exception in Socket Select method

 
 
=?Utf-8?B?eWFyb24=?=
Guest
Posts: n/a
 
      22nd Sep 2005
i get an SocketException exception when using socket select method.
how do i know what is the socket that cause the exception ?
can i get this info from the exception instance ?

Thanks.

 
Reply With Quote
 
 
 
 
Vadym Stetsyak
Guest
Posts: n/a
 
      22nd Sep 2005
If that exception occurs constantly, you can change the Select method into
Poll one. And poll on every socket...

SocketException doesn't have the instance of the socket

--
Vadym Stetsyak aka Vadmyst

"yaron" <(E-Mail Removed)> wrote in message
news01F4D89-88AE-458A-B92C-(E-Mail Removed)...
> i get an SocketException exception when using socket select method.
> how do i know what is the socket that cause the exception ?
> can i get this info from the exception instance ?
>
> Thanks.
>



 
Reply With Quote
 
=?Utf-8?B?eWFyb24=?=
Guest
Posts: n/a
 
      26th Sep 2005
Thanks Vadym.

"Vadym Stetsyak" wrote:

> If that exception occurs constantly, you can change the Select method into
> Poll one. And poll on every socket...
>
> SocketException doesn't have the instance of the socket
>
> --
> Vadym Stetsyak aka Vadmyst
>
> "yaron" <(E-Mail Removed)> wrote in message
> news01F4D89-88AE-458A-B92C-(E-Mail Removed)...
> > i get an SocketException exception when using socket select method.
> > how do i know what is the socket that cause the exception ?
> > can i get this info from the exception instance ?
> >
> > Thanks.
> >

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Socket Exception: A non blocking socket operation could not be completed immediately. Rollasoc Microsoft Dot NET 4 15th Sep 2006 04:49 PM
Detecting Socket failed/disconnected in Aysnchronous Socket Server =?Utf-8?B?TWFjY2E=?= Microsoft C# .NET 0 30th Mar 2006 05:10 PM
Remoting socket error 10035 non-blocking socket exception =?Utf-8?B?cmlja3lqb25lc3Vz?= Microsoft Dot NET Framework 0 12th Dec 2005 04:32 PM
Socket.Available != 0 but Socket.Read throws an exception Tomasz Naumowicz Microsoft C# .NET 0 24th Feb 2005 03:38 PM
Socket.Available != 0 but Socket.Read throws an exception Tomasz Naumowicz Microsoft C# .NET 0 24th Feb 2005 03:05 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:47 AM.