Click here to Skip to main content
15,909,539 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: incompatbilties between C and C++ ins aignment Pin
ForNow13-Mar-08 12:51
ForNow13-Mar-08 12:51 
GeneralCListCtrl Prevent Column Resizing Pin
JBAK_CP12-Mar-08 7:08
JBAK_CP12-Mar-08 7:08 
GeneralRe: CListCtrl Prevent Column Resizing Pin
David Crow12-Mar-08 7:42
David Crow12-Mar-08 7:42 
GeneralRe: CListCtrl Prevent Column Resizing Pin
sheshidar12-Mar-08 18:17
sheshidar12-Mar-08 18:17 
GeneralUDP socket Pin
nahitan12-Mar-08 5:53
nahitan12-Mar-08 5:53 
GeneralRe: UDP socket Pin
Mark Salsbery12-Mar-08 5:57
Mark Salsbery12-Mar-08 5:57 
GeneralRe: UDP socket Pin
Eytukan12-Mar-08 6:25
Eytukan12-Mar-08 6:25 
GeneralRe: UDP socket Pin
Moak13-Mar-08 15:05
Moak13-Mar-08 15:05 
Hi there,

it is possible to use connected UDP sockets, however the information you get is limited. Using connect on a UDP socket (it will not cause any network traffic) together with send (instead of the usual sendto) allows you to get asynchronous error information... e.g. 'connection refused' if the target peer is not listening on given UDP port. It is pretty much limited to that. I am not sure what kind of "connection problems" you wish to detect, but UDP is not very reliable and if you want to make sure that no data is lost or recover from temporary network outages you need to write your own protocol to detect/correct such cases. As a short note, TCP provides this and more for free. Smile | :)

/M


GeneralRe: UDP socket Pin
nahitan17-Mar-08 5:20
nahitan17-Mar-08 5:20 
GeneralRe: UDP socket Pin
Moak17-Mar-08 6:36
Moak17-Mar-08 6:36 
Generalbehavior of strlen() [modified] Pin
koumodaki12-Mar-08 5:27
koumodaki12-Mar-08 5:27 
GeneralRe: behavior of strlen() modified Pin
Rajkumar R12-Mar-08 5:33
Rajkumar R12-Mar-08 5:33 
GeneralRe: behavior of strlen() Pin
koumodaki12-Mar-08 5:36
koumodaki12-Mar-08 5:36 
GeneralRe: behavior of strlen() Pin
Rajkumar R12-Mar-08 5:37
Rajkumar R12-Mar-08 5:37 
GeneralRe: behavior of strlen() Pin
David Crow12-Mar-08 5:43
David Crow12-Mar-08 5:43 
GeneralRe: behavior of strlen() modified Pin
koumodaki12-Mar-08 5:44
koumodaki12-Mar-08 5:44 
GeneralRe: behavior of strlen() modified Pin
David Crow12-Mar-08 5:47
David Crow12-Mar-08 5:47 
GeneralRe: behavior of strlen() modified Pin
koumodaki12-Mar-08 5:54
koumodaki12-Mar-08 5:54 
GeneralRe: behavior of strlen() modified Pin
Rajkumar R12-Mar-08 5:47
Rajkumar R12-Mar-08 5:47 
GeneralRe: behavior of strlen() modified Pin
koumodaki12-Mar-08 5:54
koumodaki12-Mar-08 5:54 
GeneralRe: behavior of strlen() modified Pin
Chris Losinger12-Mar-08 8:16
professionalChris Losinger12-Mar-08 8:16 
GeneralQuery about Tray Icon Pin
ramana.g12-Mar-08 5:16
ramana.g12-Mar-08 5:16 
GeneralRe: Query about Tray Icon Pin
David Crow12-Mar-08 5:44
David Crow12-Mar-08 5:44 
GeneralRe: Query about Tray Icon Pin
ramana.g12-Mar-08 6:00
ramana.g12-Mar-08 6:00 
QuestionHow to count no. of folders in a directory? Pin
vandana712-Mar-08 5:15
vandana712-Mar-08 5:15 

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.