Click here to Skip to main content
15,900,258 members
Home / Discussions / C#
   

C#

 
QuestionSockets Pin
nakash18-Nov-18 13:39
nakash18-Nov-18 13:39 
AnswerRe: Sockets Pin
OriginalGriff18-Nov-18 19:57
mveOriginalGriff18-Nov-18 19:57 
GeneralRe: Sockets Pin
nakash18-Nov-18 21:17
nakash18-Nov-18 21:17 
GeneralRe: Sockets Pin
OriginalGriff18-Nov-18 21:26
mveOriginalGriff18-Nov-18 21:26 
GeneralRe: Sockets Pin
nakash18-Nov-18 22:05
nakash18-Nov-18 22:05 
AnswerRe: Sockets Pin
Eddy Vluggen19-Nov-18 0:40
professionalEddy Vluggen19-Nov-18 0:40 
GeneralRe: Sockets Pin
nakash19-Nov-18 1:41
nakash19-Nov-18 1:41 
GeneralRe: Sockets Pin
Eddy Vluggen19-Nov-18 1:59
professionalEddy Vluggen19-Nov-18 1:59 
nakash wrote:
Didn't know it is not ok.
It is; but you do agree that you'll have to understand the code you are going to modify Smile | :)

There's also an async client/server socket example somewhere on MSDN. Ehr.. here[^]. They all have some things in common; there's some startup code (modify to create a list), there's some connection code (modify to add socket-address to list).

If you're unsure if a connection is still alive, then send some data to it; it will raise an exception if it can't be sent or received.

Alternatively, you could search CodeProject for articles like "socket chat" applications; should be a few there Thumbs Up | :thumbsup:
Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

GeneralRe: Sockets Pin
nakash19-Nov-18 3:31
nakash19-Nov-18 3:31 
GeneralRe: Sockets Pin
Eddy Vluggen19-Nov-18 3:40
professionalEddy Vluggen19-Nov-18 3:40 
Questionhow to use qr code library in my project ,i m using asp.net using C# Pin
Member 1405785317-Nov-18 4:20
Member 1405785317-Nov-18 4:20 
AnswerRe: how to use qr code library in my project ,i m using asp.net using C# Pin
Richard Andrew x6417-Nov-18 4:34
professionalRichard Andrew x6417-Nov-18 4:34 
AnswerRe: how to use qr code library in my project ,i m using asp.net using C# Pin
Dave Kreskowiak17-Nov-18 5:03
mveDave Kreskowiak17-Nov-18 5:03 
AnswerRe: how to use qr code library in my project ,i m using asp.net using C# Pin
Vikram Motwani17-Nov-18 20:27
professionalVikram Motwani17-Nov-18 20:27 
QuestionEvent handlers Pin
Member 1405777317-Nov-18 2:03
Member 1405777317-Nov-18 2:03 
AnswerRe: Event handlers Pin
OriginalGriff17-Nov-18 2:27
mveOriginalGriff17-Nov-18 2:27 
AnswerRe: Event handlers Pin
BillWoodruff18-Nov-18 17:34
professionalBillWoodruff18-Nov-18 17:34 
QuestionC# Equivalent of VB6 Function? Pin
Richard Andrew x6416-Nov-18 3:12
professionalRichard Andrew x6416-Nov-18 3:12 
AnswerRe: C# Equivalent of VB6 Function? Pin
Richard MacCutchan16-Nov-18 3:15
mveRichard MacCutchan16-Nov-18 3:15 
AnswerRe: C# Equivalent of VB6 Function? Pin
Eddy Vluggen16-Nov-18 4:05
professionalEddy Vluggen16-Nov-18 4:05 
GeneralRe: C# Equivalent of VB6 Function? Pin
Richard Andrew x6416-Nov-18 9:04
professionalRichard Andrew x6416-Nov-18 9:04 
GeneralRe: C# Equivalent of VB6 Function? Pin
Eddy Vluggen16-Nov-18 10:11
professionalEddy Vluggen16-Nov-18 10:11 
QuestionConverting nested object to JSON Not nested objects Pin
Member 1338930215-Nov-18 23:09
Member 1338930215-Nov-18 23:09 
AnswerRe: Converting nested object to JSON Not nested objects Pin
Richard Deeming16-Nov-18 1:02
mveRichard Deeming16-Nov-18 1:02 
AnswerRe: Converting nested object to JSON Not nested objects Pin
Nathan Minier16-Nov-18 1:23
professionalNathan Minier16-Nov-18 1:23 

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.