Click here to Skip to main content
15,915,739 members
Home / Discussions / C#
   

C#

 
AnswerRe: Want to display screen coordinates of the mouse in real time Pin
Kharlog-15-Dec-05 11:45
Kharlog-15-Dec-05 11:45 
GeneralRe: Want to display screen coordinates of the mouse in real time Pin
...---...15-Dec-05 12:36
...---...15-Dec-05 12:36 
GeneralRe: Want to display screen coordinates of the mouse in real time Pin
TheGreatAndPowerfulOz15-Dec-05 13:40
TheGreatAndPowerfulOz15-Dec-05 13:40 
GeneralRe: Want to display screen coordinates of the mouse in real time Pin
...---...15-Dec-05 14:49
...---...15-Dec-05 14:49 
Questionfaxing using FAXCOMLib Pin
cobra200515-Dec-05 10:40
cobra200515-Dec-05 10:40 
QuestionConverting Word documents to Text Pin
Guinness4Strength15-Dec-05 9:39
Guinness4Strength15-Dec-05 9:39 
Questionprint in web Pin
mehrdadc4815-Dec-05 9:26
mehrdadc4815-Dec-05 9:26 
QuestionTime out BeginReceive() operation Pin
c#guy381115-Dec-05 8:30
c#guy381115-Dec-05 8:30 
In my server, I am using Asynchronous socket connections. After a client connects, the server Asynchronously waits for the login credentials using Socket.BeginReceive. I have not had this issue yet, but in the what ifs....

Suppose a client connects, is sent a promt from the server to enter login credentials, then just sits there sending nothing. The server holds that asynchronous operation indefinately until something is sent or the client disconnects. How would I time out that operation? I dont think SetSocketOption works on asynchronous operations.

The server would not stop accepting connections by design, but it would keep that socket open, and I dont want that. Any ideas?

Thanks
c#guy
AnswerRe: Time out BeginReceive() operation Pin
leppie15-Dec-05 11:11
leppie15-Dec-05 11:11 
GeneralRe: Time out BeginReceive() operation Pin
c#guy381115-Dec-05 11:27
c#guy381115-Dec-05 11:27 
Questionimprotant Pin
marmosha15-Dec-05 7:55
marmosha15-Dec-05 7:55 
AnswerRe: improtant Pin
enjoycrack15-Dec-05 8:00
enjoycrack15-Dec-05 8:00 
AnswerRe: improtant Pin
marmosha15-Dec-05 8:27
marmosha15-Dec-05 8:27 
GeneralRe: improtant Pin
enjoycrack15-Dec-05 8:33
enjoycrack15-Dec-05 8:33 
AnswerRe: improtant Pin
Brian Van Beek15-Dec-05 9:56
Brian Van Beek15-Dec-05 9:56 
AnswerRe: improtant Pin
marmosha16-Dec-05 22:54
marmosha16-Dec-05 22:54 
QuestionCreate File Format Pin
kenexcelon15-Dec-05 7:52
kenexcelon15-Dec-05 7:52 
AnswerRe: Create File Format Pin
enjoycrack15-Dec-05 8:14
enjoycrack15-Dec-05 8:14 
GeneralRe: Create File Format Pin
kenexcelon15-Dec-05 8:17
kenexcelon15-Dec-05 8:17 
GeneralRe: Create File Format Pin
enjoycrack15-Dec-05 8:35
enjoycrack15-Dec-05 8:35 
GeneralRe: Create File Format Pin
kenexcelon15-Dec-05 10:34
kenexcelon15-Dec-05 10:34 
AnswerRe: Create File Format Pin
Andrew Bleakley15-Dec-05 12:35
Andrew Bleakley15-Dec-05 12:35 
GeneralRe: Create File Format Pin
kenexcelon15-Dec-05 12:41
kenexcelon15-Dec-05 12:41 
GeneralRe: Create File Format Pin
Andrew Bleakley15-Dec-05 12:55
Andrew Bleakley15-Dec-05 12:55 
GeneralRe: Create File Format Pin
kenexcelon15-Dec-05 14:46
kenexcelon15-Dec-05 14:46 

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.