Click here to Skip to main content
15,905,683 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Auto fire method when assembly is loaded Pin
nick_dodd16-Jun-09 2:35
nick_dodd16-Jun-09 2:35 
QuestionPassing an open TCP socket to another application Pin
supercat915-Jun-09 6:30
supercat915-Jun-09 6:30 
AnswerRe: Passing an open TCP socket to another application Pin
Mark Salsbery15-Jun-09 6:40
Mark Salsbery15-Jun-09 6:40 
GeneralRe: Passing an open TCP socket to another application Pin
supercat915-Jun-09 7:17
supercat915-Jun-09 7:17 
GeneralRe: Passing an open TCP socket to another application Pin
Mark Salsbery15-Jun-09 8:02
Mark Salsbery15-Jun-09 8:02 
GeneralAsync socket I/O Pin
supercat915-Jun-09 8:23
supercat915-Jun-09 8:23 
GeneralRe: Async socket I/O Pin
Mark Salsbery15-Jun-09 9:21
Mark Salsbery15-Jun-09 9:21 
GeneralRe: Async socket I/O Pin
supercat915-Jun-09 10:01
supercat915-Jun-09 10:01 
Mark Salsbery wrote:
Is it really an issue in practice with TCP? If you implement a timeout or abort you run the risk of data loss
regardless - there's no way for an endpoint to know what the other endpoint is about to do.


Is there any practical way to abort an asynchronous TCP operation without closing a connection, if one is willing to accept the loss or late arrival of data prior to the abort, but one wants to avoid memory or resource leaks, weird crashes, etc.? I know that in many of the applications for which TCP is designed, dropping a connection would be preferable to losing data while keeping a connection, but when dealing with embedded systems that isn't always true.

Also, btw, is it safe to have one thread write to a socket while a different thread reads it? I know that having two threads writing or two threads reading would likely be problematical at best, but the write/read case would seem common enough I would hope the implementors would have handled it correctly.
GeneralRe: Async socket I/O Pin
Mark Salsbery15-Jun-09 10:16
Mark Salsbery15-Jun-09 10:16 
GeneralRe: Async socket I/O Pin
supercat915-Jun-09 11:39
supercat915-Jun-09 11:39 
GeneralRe: Passing an open TCP socket to another application Pin
led mike15-Jun-09 9:17
led mike15-Jun-09 9:17 
GeneralRe: Passing an open TCP socket to another application Pin
Mark Salsbery15-Jun-09 9:24
Mark Salsbery15-Jun-09 9:24 
GeneralRe: Passing an open TCP socket to another application Pin
supercat915-Jun-09 9:49
supercat915-Jun-09 9:49 
GeneralRe: Passing an open TCP socket to another application Pin
led mike15-Jun-09 10:29
led mike15-Jun-09 10:29 
Questionhow to create crystal report in vb.net using sql server 2005. Pin
Neeta Sen12-Jun-09 21:58
Neeta Sen12-Jun-09 21:58 
Questionrearrange database Serial number after deleting a row Pin
Neeta Sen12-Jun-09 21:28
Neeta Sen12-Jun-09 21:28 
AnswerRe: rearrange database Serial number after deleting a row Pin
Eddy Vluggen13-Jun-09 0:57
professionalEddy Vluggen13-Jun-09 0:57 
AnswerRe: rearrange database Serial number after deleting a row Pin
Dave Kreskowiak13-Jun-09 2:07
mveDave Kreskowiak13-Jun-09 2:07 
AnswerRe: rearrange database Serial number after deleting a row Pin
David Skelly14-Jun-09 22:29
David Skelly14-Jun-09 22:29 
QuestionReflecting attribute metadata from an instance of the type, not the type itself Pin
Gregory Gadow12-Jun-09 5:51
Gregory Gadow12-Jun-09 5:51 
AnswerProblem figured out Pin
Gregory Gadow12-Jun-09 7:21
Gregory Gadow12-Jun-09 7:21 
QuestionShipping Services - FedEx Pin
Saritha Palekula12-Jun-09 2:08
Saritha Palekula12-Jun-09 2:08 
AnswerRe: Shipping Services - FedEx Pin
Dave Kreskowiak12-Jun-09 4:08
mveDave Kreskowiak12-Jun-09 4:08 
AnswerRe: Shipping Services - FedEx Pin
0x3c012-Jun-09 6:06
0x3c012-Jun-09 6:06 
GeneralRe: Shipping Services - FedEx Pin
molesworth12-Jun-09 6:11
molesworth12-Jun-09 6:11 

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.