Click here to Skip to main content
15,898,371 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: poker bot Pin
Colin Angus Mackay25-Feb-09 13:59
Colin Angus Mackay25-Feb-09 13:59 
AnswerRe: poker bot Pin
Dave Kreskowiak25-Feb-09 14:16
mveDave Kreskowiak25-Feb-09 14:16 
QuestionUnable to design custom deployment. Can any body help me in this regard? Pin
annoce25-Feb-09 11:47
annoce25-Feb-09 11:47 
AnswerRe: Unable to design custom deployment. Can any body help me in this regard? Pin
Colin Angus Mackay25-Feb-09 14:02
Colin Angus Mackay25-Feb-09 14:02 
QuestionVariables - Please Help Pin
lexyvb.net25-Feb-09 9:33
lexyvb.net25-Feb-09 9:33 
GeneralRe: Variables - Please Help Pin
Luc Pattyn25-Feb-09 11:54
sitebuilderLuc Pattyn25-Feb-09 11:54 
AnswerRe: Variables - Please Help Pin
Colin Angus Mackay25-Feb-09 14:11
Colin Angus Mackay25-Feb-09 14:11 
QuestionTCPClient.Connect Timeout? Pin
RGVChris25-Feb-09 4:08
RGVChris25-Feb-09 4:08 
Hi, I am working on some code which is designed to communicate with up to 16 embedded devices over a LAN with eventual real time data display and logging.
Using a series of UDP broadcasts, a rectangular array is populated with the ip addresses of the units.
This process is repeated at a regular intervals and the array compared to it's previous state to find any units which have not responded to the UDP broadcast sequence, implying that either communication has failed for serious reasons or a packet has simply been dropped.

Any lost IPs are then passed to a function which attempts TCP to each in turn, in order to get confirmation of any communication problems.

However I have found in testing that a TCP connection that fails can take up to 30 seconds to return an exception, so in a worst case situation it could take 8 minutes for my app to notice that all 16 units have gone offline.

From long research it seems to me that my only solution is to rewrite large amounts of code to use a sockets implementation instead of a TCPClient, but can anyone think of a way which would save a large rewrite?Confused | :confused:
AnswerRe: TCPClient.Connect Timeout? Pin
Dave Kreskowiak25-Feb-09 4:51
mveDave Kreskowiak25-Feb-09 4:51 
AnswerRe: TCPClient.Connect Timeout? Pin
alx.n25-Feb-09 21:48
alx.n25-Feb-09 21:48 
GeneralRe: TCPClient.Connect Timeout? Pin
RGVChris26-Feb-09 0:56
RGVChris26-Feb-09 0:56 
QuestionIPTC Pin
pvatanpour25-Feb-09 1:16
pvatanpour25-Feb-09 1:16 
AnswerRe: IPTC Pin
Dave Kreskowiak25-Feb-09 4:46
mveDave Kreskowiak25-Feb-09 4:46 
GeneralRe: IPTC Pin
EliottA25-Feb-09 5:37
EliottA25-Feb-09 5:37 
GeneralRe: IPTC[Dave Kreskowiak] Pin
pvatanpour10-Mar-09 10:33
pvatanpour10-Mar-09 10:33 
GeneralRe: IPTC[Dave Kreskowiak] Pin
Dave Kreskowiak10-Mar-09 14:09
mveDave Kreskowiak10-Mar-09 14:09 
QuestionError in ActiveX creation. Pin
Anu_Bala24-Feb-09 22:42
Anu_Bala24-Feb-09 22:42 
AnswerRe: Error in ActiveX creation. Pin
Ashfield25-Feb-09 1:28
Ashfield25-Feb-09 1:28 
AnswerRe: Error in ActiveX creation. Pin
Jon_Boy25-Feb-09 8:37
Jon_Boy25-Feb-09 8:37 
Questionprinting xml in ie Pin
Stephen Lintott24-Feb-09 22:20
Stephen Lintott24-Feb-09 22:20 
AnswerRe: printing xml in ie Pin
Duncan Edwards Jones25-Feb-09 1:01
professionalDuncan Edwards Jones25-Feb-09 1:01 
GeneralRe: printing xml in ie Pin
Stephen Lintott25-Feb-09 1:08
Stephen Lintott25-Feb-09 1:08 
GeneralRe: printing xml in ie Pin
Dave Kreskowiak25-Feb-09 5:07
mveDave Kreskowiak25-Feb-09 5:07 
GeneralRe: printing xml in ie Pin
Stephen Lintott25-Feb-09 19:34
Stephen Lintott25-Feb-09 19:34 
GeneralRe: printing xml in ie Pin
Stephen Lintott25-Feb-09 19:57
Stephen Lintott25-Feb-09 19:57 

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.