Click here to Skip to main content
15,904,497 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Is J2me , codewarrior tough? Pin
Dave Kreskowiak17-Jun-04 3:53
mveDave Kreskowiak17-Jun-04 3:53 
GeneralRe: Is J2me , codewarrior tough? Pin
tanstaafl2817-Jun-04 8:51
tanstaafl2817-Jun-04 8:51 
GeneralRe: Is J2me , codewarrior tough? Pin
Dave Kreskowiak17-Jun-04 9:29
mveDave Kreskowiak17-Jun-04 9:29 
GeneralRe: Is J2me , codewarrior tough? Pin
smitakiran17-Jun-04 18:59
smitakiran17-Jun-04 18:59 
GeneralRe: Is J2me , codewarrior tough? [EDITED] Pin
Dave Kreskowiak18-Jun-04 7:15
mveDave Kreskowiak18-Jun-04 7:15 
GeneralRe: Is J2me , codewarrior tough? [EDITED] Pin
smitakiran20-Jun-04 8:26
smitakiran20-Jun-04 8:26 
AnswerRe: Is J2me , codewarrior tough? Pin
tanstaafl2817-Jun-04 6:39
tanstaafl2817-Jun-04 6:39 
GeneralUrgent: MultiThreading on socket. Help wanted Pin
TheDarkMan16-Jun-04 20:57
TheDarkMan16-Jun-04 20:57 
Hi,

I'm not ease with the multithreading and i have a lot of difficulties to understand how a program run with this kind of things.

What i want to do :

1- My class will be accessed by multi - threads and than thread safe
2- Allow a connect and disconnect and reconnect (the reconnect occurs only when the socket is closed by the remote host or an error occurs)
3- When a user want close the socket all tasks made by threads will stop (Race condition to avoid)
4- Will be Synchronous and very efficient.

My problems :

1- (See point 2 and 3 before)

a) We can imagine that a thread close the socket (user action) and at the same time i lost the connection and than my receive thread or send thread or both will raise an error or close event also. Than It could be occurs that the error or close event come from the application launch a reconnect but the user want to stop.

b) the user call a connect juste after an error occurs and the reconnect is started but not finished. We can imagine the connect from the user is managed before the reconnect or it won't be possible.

c) and all the others cases that i can't not yet imagine.

-->I think taht all these problems are caledl race condition

Please help me it's very important and very urgent.

PS : Sorry for my poor english but it's not my natural language. All advices on my coding are welcome:

The code is to large to be posted. If you think you can help me. Ask and i will send you the class that i made
GeneralPacking up an ap for the Framework Pin
tanstaafl2816-Jun-04 16:21
tanstaafl2816-Jun-04 16:21 
GeneralRe: Packing up an ap for the Framework Pin
Colin Angus Mackay16-Jun-04 22:21
Colin Angus Mackay16-Jun-04 22:21 
GeneralRe: Packing up an ap for the Framework Pin
tanstaafl2817-Jun-04 6:38
tanstaafl2817-Jun-04 6:38 
GeneralRe: Packing up an ap for the Framework Pin
Colin Angus Mackay17-Jun-04 11:22
Colin Angus Mackay17-Jun-04 11:22 
GeneralRe: Packing up an ap for the Framework Pin
Dave Kreskowiak17-Jun-04 3:50
mveDave Kreskowiak17-Jun-04 3:50 
GeneralRe: Packing up an ap for the Framework Pin
tanstaafl2817-Jun-04 6:34
tanstaafl2817-Jun-04 6:34 
GeneralRe: Packing up an ap for the Framework Pin
Dave Kreskowiak17-Jun-04 6:59
mveDave Kreskowiak17-Jun-04 6:59 
GeneralRe: Packing up an ap for the Framework Pin
tanstaafl2817-Jun-04 8:40
tanstaafl2817-Jun-04 8:40 
GeneralRe: Packing up an ap for the Framework Pin
Dave Kreskowiak17-Jun-04 11:58
mveDave Kreskowiak17-Jun-04 11:58 
GeneralRe: Packing up an ap for the Framework Pin
tanstaafl2817-Jun-04 8:51
tanstaafl2817-Jun-04 8:51 
QuestionError binding picture box? Pin
mythinky16-Jun-04 16:19
mythinky16-Jun-04 16:19 
AnswerRe: Error binding picture box? Pin
Dave Kreskowiak17-Jun-04 3:46
mveDave Kreskowiak17-Jun-04 3:46 
GeneralRe: Error binding picture box? Pin
mythinky17-Jun-04 21:57
mythinky17-Jun-04 21:57 
GeneralRe: Error binding picture box? Pin
Dave Kreskowiak18-Jun-04 10:27
mveDave Kreskowiak18-Jun-04 10:27 
GeneralRe: Error binding picture box? Pin
mythinky23-Jun-04 17:59
mythinky23-Jun-04 17:59 
GeneralRe: Error binding picture box? Pin
Dave Kreskowiak24-Jun-04 2:52
mveDave Kreskowiak24-Jun-04 2:52 
GeneralRe: Error binding picture box? Pin
mythinky24-Jun-04 18:42
mythinky24-Jun-04 18:42 

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.