Click here to Skip to main content
15,896,118 members
Home / Discussions / C#
   

C#

 
AnswerRe: Asynchronous TcpListener and TcpClient design patterns Pin
Ravi Bhavnani3-Jun-11 7:22
professionalRavi Bhavnani3-Jun-11 7:22 
AnswerRe: Asynchronous TcpListener and TcpClient design patterns Pin
Chesnokov Yuriy3-Jun-11 7:40
professionalChesnokov Yuriy3-Jun-11 7:40 
AnswerRe: Asynchronous TcpListener and TcpClient design patterns Pin
Eddy Vluggen3-Jun-11 8:10
professionalEddy Vluggen3-Jun-11 8:10 
AnswerRe: Asynchronous TcpListener and TcpClient design patterns Pin
Chesnokov Yuriy3-Jun-11 8:28
professionalChesnokov Yuriy3-Jun-11 8:28 
GeneralRe: Asynchronous TcpListener and TcpClient design patterns Pin
Ravi Bhavnani3-Jun-11 9:15
professionalRavi Bhavnani3-Jun-11 9:15 
QuestionRe: Asynchronous TcpListener and TcpClient design patterns Pin
Chesnokov Yuriy3-Jun-11 9:47
professionalChesnokov Yuriy3-Jun-11 9:47 
AnswerRe: Asynchronous TcpListener and TcpClient design patterns Pin
Ravi Bhavnani3-Jun-11 9:58
professionalRavi Bhavnani3-Jun-11 9:58 
AnswerRe: Asynchronous TcpListener and TcpClient design patterns Pin
Chesnokov Yuriy3-Jun-11 19:32
professionalChesnokov Yuriy3-Jun-11 19:32 
Thanks, but I'm not sure that is suitable for my design.

I'm coding video surveillance application, server runs video capture and sends captured frames to connected clients.
There can be any number of clients connected to a server and a client can be connected to any number of servers.

There are video capture service and video data transfer service (the server).
As the frame is captured video capture service invokes send method from the video data transfer service which sends the frame to all clients connected.
WCF as I understood provides service contract and public methods to call.
In that case I need to add WCF logic to video capture service and declare public method as e.g. GetRecentFrame(). And a client needs to call that method.

I do not want to combine video capture and video data transfer services.
As video capture service is running on despite the fact if someone is connected to transfer it a frame. And network connection may be slow, video capture service may get 10 frames in a time 1 frame is finished with the transfer to the client.
Чесноков

GeneralRe: Asynchronous TcpListener and TcpClient design patterns Pin
Ravi Bhavnani4-Jun-11 6:00
professionalRavi Bhavnani4-Jun-11 6:00 
AnswerRe: Asynchronous TcpListener and TcpClient design patterns Pin
Eddy Vluggen3-Jun-11 9:18
professionalEddy Vluggen3-Jun-11 9:18 
AnswerRe: Asynchronous TcpListener and TcpClient design patterns Pin
BobJanova5-Jun-11 23:59
BobJanova5-Jun-11 23:59 
QuestionBroken DLL Pin
musefan3-Jun-11 5:53
musefan3-Jun-11 5:53 
AnswerRe: Broken DLL Pin
Ennis Ray Lynch, Jr.3-Jun-11 6:07
Ennis Ray Lynch, Jr.3-Jun-11 6:07 
GeneralRe: Broken DLL Pin
musefan3-Jun-11 6:18
musefan3-Jun-11 6:18 
GeneralRe: Broken DLL Pin
SledgeHammer013-Jun-11 6:46
SledgeHammer013-Jun-11 6:46 
GeneralRe: Broken DLL Pin
musefan5-Jun-11 23:28
musefan5-Jun-11 23:28 
AnswerRe: Broken DLL [SOLVED] Pin
musefan5-Jun-11 23:31
musefan5-Jun-11 23:31 
QuestionClasses inheritance and something that confuses me Pin
nstk2-Jun-11 20:54
nstk2-Jun-11 20:54 
AnswerRe: Classes inheritance and something that confuses me PinPopular
Wayne Gaylard2-Jun-11 21:36
professionalWayne Gaylard2-Jun-11 21:36 
AnswerRe: Classes inheritance and something that confuses me Pin
Richard MacCutchan2-Jun-11 21:44
mveRichard MacCutchan2-Jun-11 21:44 
GeneralRe: Classes inheritance and something that confuses me Pin
nstk2-Jun-11 22:02
nstk2-Jun-11 22:02 
GeneralRe: Classes inheritance and something that confuses me Pin
Richard MacCutchan2-Jun-11 22:28
mveRichard MacCutchan2-Jun-11 22:28 
GeneralRe: Classes inheritance and something that confuses me Pin
MicroVirus3-Jun-11 1:40
MicroVirus3-Jun-11 1:40 
GeneralRe: Classes inheritance and something that confuses me Pin
Richard MacCutchan3-Jun-11 3:31
mveRichard MacCutchan3-Jun-11 3:31 
GeneralRe: Classes inheritance and something that confuses me Pin
nstk3-Jun-11 11:48
nstk3-Jun-11 11:48 

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.