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

C#

 
GeneralRe: Contrast problem Pin
Roger Wright15-Nov-10 18:24
professionalRoger Wright15-Nov-10 18:24 
AnswerRe: Contrast problem Pin
pancakeleh15-Nov-10 19:05
pancakeleh15-Nov-10 19:05 
GeneralRe: Contrast problem Pin
pancakeleh15-Nov-10 21:34
pancakeleh15-Nov-10 21:34 
GeneralRe: Contrast problem Pin
Caslen16-Nov-10 2:46
Caslen16-Nov-10 2:46 
GeneralRe: Contrast problem Pin
pancakeleh16-Nov-10 3:53
pancakeleh16-Nov-10 3:53 
Questionhistogram control Pin
pancakeleh15-Nov-10 16:44
pancakeleh15-Nov-10 16:44 
AnswerRe: histogram control Pin
Dr.Walt Fair, PE15-Nov-10 17:39
professionalDr.Walt Fair, PE15-Nov-10 17:39 
QuestionAsync vs Sync Pin
Jacob D Dixon15-Nov-10 14:03
Jacob D Dixon15-Nov-10 14:03 
Well I am working on my first Clients / Server application. First I started off working with syncronous sockets, and then switched to asyncronous sockets. The way it looks like it is going to work for now (until I get a better understanding) is the Client connects to server, Client sends data to server, Server gets data, Server looks for data pertaining to that specific client, Server returns data to client, connections close and end.

I see a problem though? What if the client connects to the server, sends data to server, server gets it, then server loses connection to the internet?

This would mean that my client is stuck on the BeginReceive part. I can't find a timeout. Now I haven't tried to test this yet.. but I was wondering how to handle this situation? Would syncronous sockets be better than asyncronous?
AnswerRe: Async vs Sync Pin
Luc Pattyn15-Nov-10 14:54
sitebuilderLuc Pattyn15-Nov-10 14:54 
GeneralRe: Async vs Sync Pin
Jacob D Dixon15-Nov-10 17:21
Jacob D Dixon15-Nov-10 17:21 
AnswerRe: Async vs Sync Pin
Luc Pattyn15-Nov-10 17:31
sitebuilderLuc Pattyn15-Nov-10 17:31 
GeneralRe: Async vs Sync Pin
Jacob D Dixon16-Nov-10 13:54
Jacob D Dixon16-Nov-10 13:54 
GeneralRe: Async vs Sync Pin
Luc Pattyn16-Nov-10 13:57
sitebuilderLuc Pattyn16-Nov-10 13:57 
QuestionAccessing form controls from WCF service Pin
teknolog12315-Nov-10 10:29
teknolog12315-Nov-10 10:29 
AnswerRe: Accessing form controls from WCF service Pin
Dave Kreskowiak15-Nov-10 10:49
mveDave Kreskowiak15-Nov-10 10:49 
AnswerRe: Accessing form controls from WCF service Pin
DaveyM6915-Nov-10 13:00
professionalDaveyM6915-Nov-10 13:00 
AnswerRe: Accessing form controls from WCF service Pin
PIEBALDconsult15-Nov-10 14:22
mvePIEBALDconsult15-Nov-10 14:22 
AnswerRe: Accessing form controls from WCF service Pin
si2480315-Nov-10 22:45
si2480315-Nov-10 22:45 
GeneralRe: Accessing form controls from WCF service Pin
teknolog12316-Nov-10 3:17
teknolog12316-Nov-10 3:17 
AnswerRe: Accessing form controls from WCF service Pin
si2480316-Nov-10 4:51
si2480316-Nov-10 4:51 
GeneralRe: Accessing form controls from WCF service Pin
teknolog12318-Nov-10 7:34
teknolog12318-Nov-10 7:34 
AnswerRe: Accessing form controls from WCF service Pin
Daniel Vaughan15-Nov-10 23:41
Daniel Vaughan15-Nov-10 23:41 
Question"No connection could be made because the target machine actively refused it" Pin
Megidolaon14-Nov-10 22:31
Megidolaon14-Nov-10 22:31 
AnswerRe: "No connection could be made because the target machine actively refused it" Pin
Manfred Rudolf Bihy14-Nov-10 22:49
professionalManfred Rudolf Bihy14-Nov-10 22:49 
GeneralRe: "No connection could be made because the target machine actively refused it" Pin
Megidolaon14-Nov-10 22:56
Megidolaon14-Nov-10 22:56 

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.