Click here to Skip to main content
15,890,123 members
Home / Discussions / C#
   

C#

 
AnswerRe: Async TcpListener recieves ClientAccept after stoping listening. How to notify it that the client disconnected? Pin
N a v a n e e t h31-Oct-09 21:57
N a v a n e e t h31-Oct-09 21:57 
GeneralRe: Async TcpListener recieves ClientAccept after stoping listening. How to notify it that the client disconnected? [modified] Pin
Chesnokov Yuriy31-Oct-09 23:36
professionalChesnokov Yuriy31-Oct-09 23:36 
QuestionRe: Async TcpListener recieves ClientAccept after stoping listening. How to notify it that the client disconnected? Pin
Chesnokov Yuriy1-Nov-09 0:56
professionalChesnokov Yuriy1-Nov-09 0:56 
AnswerRe: Async TcpListener recieves ClientAccept after stoping listening. How to notify it that the client disconnected? Pin
N a v a n e e t h1-Nov-09 1:32
N a v a n e e t h1-Nov-09 1:32 
AnswerRe: Async TcpListener recieves ClientAccept after stoping listening. How to notify it that the client disconnected? Pin
Chesnokov Yuriy1-Nov-09 2:35
professionalChesnokov Yuriy1-Nov-09 2:35 
QuestionTcpClient does not get disconnected? Pin
Chesnokov Yuriy31-Oct-09 10:37
professionalChesnokov Yuriy31-Oct-09 10:37 
AnswerRe: TcpClient does not get disconnected? Pin
N a v a n e e t h31-Oct-09 18:20
N a v a n e e t h31-Oct-09 18:20 
QuestionRe: TcpClient does not get disconnected? Pin
Chesnokov Yuriy31-Oct-09 19:59
professionalChesnokov Yuriy31-Oct-09 19:59 
Sending the message will induce the listener to recieve it and process.
In the listener I handle specific messages. It will need to process then connection test message in addition?

Do I need to insert additional sending of some data in that loop? with NetworkStream

//wait 5 secs for data from server
for (int i = 0; i < 10 * 5; i++)
{
if (networkStream.DataAvailable == true)
{
//process recieved data from server
}                                
Thread.Sleep(100);
//???send more data with networkStream???
if (tcpClient.Connected == false)
{
break;
}                                
}                        


Чесноков

AnswerRe: TcpClient does not get disconnected? Pin
N a v a n e e t h31-Oct-09 21:45
N a v a n e e t h31-Oct-09 21:45 
QuestionDrawing/Graphics in C#: Draw shapes like rectangle & triangle when respective radio button is checked. Pin
lexical131-Oct-09 7:47
lexical131-Oct-09 7:47 
AnswerRe: Drawing/Graphics in C#: Draw shapes like rectangle & triangle when respective radio button is checked. [modified] Pin
0x3c031-Oct-09 8:02
0x3c031-Oct-09 8:02 
GeneralRe: Drawing/Graphics in C#: Draw shapes like rectangle & triangle when respective radio button is checked. Pin
Richard MacCutchan31-Oct-09 10:47
mveRichard MacCutchan31-Oct-09 10:47 
GeneralRe: Drawing/Graphics in C#: Draw shapes like rectangle & triangle when respective radio button is checked. Pin
0x3c031-Oct-09 21:40
0x3c031-Oct-09 21:40 
GeneralRe: Drawing/Graphics in C#: Draw shapes like rectangle & triangle when respective radio button is checked. Pin
Richard MacCutchan31-Oct-09 21:53
mveRichard MacCutchan31-Oct-09 21:53 
AnswerRe: Drawing/Graphics in C#: Draw shapes like rectangle & triangle when respective radio button is checked. Pin
Luc Pattyn31-Oct-09 8:17
sitebuilderLuc Pattyn31-Oct-09 8:17 
GeneralRe: Drawing/Graphics in C#: Draw shapes like rectangle & triangle when respective radio button is checked. Pin
lexical131-Oct-09 19:37
lexical131-Oct-09 19:37 
GeneralRe: Drawing/Graphics in C#: Draw shapes like rectangle & triangle when respective radio button is checked. Pin
Luc Pattyn1-Nov-09 0:26
sitebuilderLuc Pattyn1-Nov-09 0:26 
Questionquestion Pin
anooshe31-Oct-09 7:45
anooshe31-Oct-09 7:45 
Answernot a Pin
Luc Pattyn31-Oct-09 8:14
sitebuilderLuc Pattyn31-Oct-09 8:14 
AnswerRe: question Pin
dan!sh 31-Oct-09 9:34
professional dan!sh 31-Oct-09 9:34 
AnswerRe: question Pin
Pete O'Hanlon31-Oct-09 9:54
mvePete O'Hanlon31-Oct-09 9:54 
AnswerRe: question Pin
Richard MacCutchan31-Oct-09 10:49
mveRichard MacCutchan31-Oct-09 10:49 
AnswerRe: question Pin
Christian Graus31-Oct-09 11:13
protectorChristian Graus31-Oct-09 11:13 
QuestionVisual C# 2010 - Application Crashes At A Certain Time (Causing VS2010 To Crash As Well) Pin
Ben Magee31-Oct-09 6:47
Ben Magee31-Oct-09 6:47 
AnswerRe: Visual C# 2010 - Application Crashes At A Certain Time (Causing VS2010 To Crash As Well) Pin
N a v a n e e t h31-Oct-09 7:25
N a v a n e e t h31-Oct-09 7:25 

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.