Click here to Skip to main content
15,440,341 members
Home / Discussions / C#
   

C#

 
JokeRe: Strange behavior of comparison with double.PositiveInfinity Pin
Luc Pattyn31-Jul-07 4:36
sitebuilderLuc Pattyn31-Jul-07 4:36 
GeneralRe: Strange behavior of comparison with double.PositiveInfinity Pin
Stefan Troschuetz31-Jul-07 4:41
MemberStefan Troschuetz31-Jul-07 4:41 
GeneralRe: Strange behavior of comparison with double.PositiveInfinity Pin
PhilDanger31-Jul-07 4:54
MemberPhilDanger31-Jul-07 4:54 
GeneralRe: Strange behavior of comparison with double.PositiveInfinity Pin
Stefan Troschuetz31-Jul-07 9:06
MemberStefan Troschuetz31-Jul-07 9:06 
QuestionWriting a Type to Binary File Pin
JamesBarnes31-Jul-07 0:56
MemberJamesBarnes31-Jul-07 0:56 
AnswerRe: Writing a Type to Binary File Pin
Luc Pattyn31-Jul-07 1:08
sitebuilderLuc Pattyn31-Jul-07 1:08 
GeneralRe: Writing a Type to Binary File Pin
JamesBarnes31-Jul-07 1:11
MemberJamesBarnes31-Jul-07 1:11 
Questionhow to make sure Socket has connected? Pin
Gavin Roberts31-Jul-07 0:56
MemberGavin Roberts31-Jul-07 0:56 
Hi all,

I would like to be able to correctly determine whether I have connected to my Host before trying to login.

Everything I can think of trying has failed.

If I try connecting to 192.168.0.1 110 it says its connected, but has 0 bytes Available. Which is great, and works for valid and invalid addresses whilst debugging, but as soon as I remove all breakpoints it comes back with errors on the valid addresses.

I done a quick search, and found using a mixture of Poll and Available which unfortunately doesn't work either.

Basically I don't want any code to continue until I have a Connected and Communicating Socket.

Any idea's?

Regards

Gav
AnswerRe: how to make sure Socket has connected? Pin
led mike31-Jul-07 4:21
Memberled mike31-Jul-07 4:21 
GeneralRe: how to make sure Socket has connected? Pin
Gavin Roberts31-Jul-07 5:08
MemberGavin Roberts31-Jul-07 5:08 
GeneralRe: how to make sure Socket has connected? Pin
led mike31-Jul-07 5:41
Memberled mike31-Jul-07 5:41 
GeneralRe: how to make sure Socket has connected? Pin
Gavin Roberts31-Jul-07 6:08
MemberGavin Roberts31-Jul-07 6:08 
GeneralRe: how to make sure Socket has connected? Pin
pbraun31-Jul-07 8:45
Memberpbraun31-Jul-07 8:45 
GeneralRe: how to make sure Socket has connected? Pin
led mike31-Jul-07 9:06
Memberled mike31-Jul-07 9:06 
QuestionUnrecognized attribute 'xmlns' Pin
kalyan_241631-Jul-07 0:46
Memberkalyan_241631-Jul-07 0:46 
AnswerRe: Unrecognized attribute 'xmlns' Pin
Vasudevan Deepak Kumar31-Jul-07 0:58
MemberVasudevan Deepak Kumar31-Jul-07 0:58 
AnswerRe: Unrecognized attribute 'xmlns' Pin
prasanna muthuramalingam31-Jul-07 1:42
Memberprasanna muthuramalingam31-Jul-07 1:42 
GeneralRe: Unrecognized attribute 'xmlns' Pin
kalyan_241631-Jul-07 1:52
Memberkalyan_241631-Jul-07 1:52 
QuestionHow to get installed products on a system Pin
Yosh_31-Jul-07 0:41
professionalYosh_31-Jul-07 0:41 
AnswerRe: How to get installed products on a system Pin
Luc Pattyn31-Jul-07 1:00
sitebuilderLuc Pattyn31-Jul-07 1:00 
GeneralRe: How to get installed products on a system Pin
Yosh_1-Aug-07 3:41
professionalYosh_1-Aug-07 3:41 
GeneralRe: How to get installed products on a system Pin
Luc Pattyn1-Aug-07 3:53
sitebuilderLuc Pattyn1-Aug-07 3:53 
QuestionProblem in mdi form Pin
deepaksringr31-Jul-07 0:21
Memberdeepaksringr31-Jul-07 0:21 
AnswerRe: Problem in mdi form Pin
Martin#31-Jul-07 0:44
MemberMartin#31-Jul-07 0:44 
GeneralRe: Problem in mdi form Pin
deepaksringr31-Jul-07 0:58
Memberdeepaksringr31-Jul-07 0:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.