Click here to Skip to main content
15,917,320 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: SetFocus Problem Pin
David Crow28-Aug-03 10:16
David Crow28-Aug-03 10:16 
GeneralRe: SetFocus Problem Pin
Alexander M.,28-Aug-03 11:06
Alexander M.,28-Aug-03 11:06 
GeneralRe: SetFocus Problem Pin
Neville Franks28-Aug-03 11:29
Neville Franks28-Aug-03 11:29 
GeneralPrinting Bitmaps via GDI+ Pin
Swinefeaster28-Aug-03 8:42
Swinefeaster28-Aug-03 8:42 
GeneralWinsock Source Code for VC++ 6.0 Pin
Johnny_Uta28-Aug-03 8:39
Johnny_Uta28-Aug-03 8:39 
GeneralRe: Winsock Source Code for VC++ 6.0 Pin
palbano28-Aug-03 9:03
palbano28-Aug-03 9:03 
GeneralRe: Winsock Source Code for VC++ 6.0 Pin
Alexander M.,28-Aug-03 10:55
Alexander M.,28-Aug-03 10:55 
GeneralRe: Winsock Source Code for VC++ 6.0 Pin
Johnny_Uta28-Aug-03 13:35
Johnny_Uta28-Aug-03 13:35 
1) The program are not listening and receving.

2) If the socket is closed the program should try to reconnect to the host every sec until the connection is open.

3) Mutiply this program by 1000 trying to reconnect to the host.


I don't want to have 1000 program sending a packet every sec to verify if the connection is close or open.What wrong with VC++ ?

In VB you can do
if winsock.state = closed then
'winsock.connect
endif

I don't need to do

// Check if the connection is still open
if (Send ( Msg) < 0)
{
//If socket closed then connect to the host
connect;
}

Against this is only about sending (Not listening and receving).
GeneralRe: Winsock Source Code for VC++ 6.0 Pin
Alexander M.,28-Aug-03 15:20
Alexander M.,28-Aug-03 15:20 
GeneralRe: Winsock Source Code for VC++ 6.0 Pin
Johnny_Uta28-Aug-03 18:27
Johnny_Uta28-Aug-03 18:27 
GeneralRe: Winsock Source Code for VC++ 6.0 Pin
palbano29-Aug-03 5:55
palbano29-Aug-03 5:55 
GeneralRe: Winsock Source Code for VC++ 6.0 Pin
Steve S28-Aug-03 22:46
Steve S28-Aug-03 22:46 
GeneralRe: Winsock Source Code for VC++ 6.0 Pin
palbano29-Aug-03 5:53
palbano29-Aug-03 5:53 
GeneralRe: Winsock Source Code for VC++ 6.0 Pin
Johnny_Uta29-Aug-03 8:40
Johnny_Uta29-Aug-03 8:40 
QuestionHow to get a pointer to CView class from CMainFrame class Pin
mr200328-Aug-03 8:36
mr200328-Aug-03 8:36 
AnswerRe: How to get a pointer to CView class from CMainFrame class Pin
Swinefeaster28-Aug-03 8:39
Swinefeaster28-Aug-03 8:39 
GeneralRe: How to get a pointer to CView class from CMainFrame class Pin
mr200328-Aug-03 9:00
mr200328-Aug-03 9:00 
GeneralRe: How to get a pointer to CView class from CMainFrame class Pin
Michael P Butler28-Aug-03 9:04
Michael P Butler28-Aug-03 9:04 
GeneralRe: How to get a pointer to CView class from CMainFrame class Pin
Swinefeaster28-Aug-03 9:04
Swinefeaster28-Aug-03 9:04 
AnswerRe: How to get a pointer to CView class from CMainFrame class Pin
Rage28-Aug-03 8:40
professionalRage28-Aug-03 8:40 
GeneralRe: How to get a pointer to CView class from CMainFrame class Pin
Bob Stanneveld29-Aug-03 4:28
Bob Stanneveld29-Aug-03 4:28 
GeneralBrowser Information Callers Graph Pin
palbano28-Aug-03 8:21
palbano28-Aug-03 8:21 
GeneralRe: Browser Information Callers Graph Pin
Alexander M.,28-Aug-03 10:56
Alexander M.,28-Aug-03 10:56 
GeneralRe: Browser Information Callers Graph Pin
palbano29-Aug-03 5:44
palbano29-Aug-03 5:44 
Generalproblem with a dll Pin
Anonymous28-Aug-03 8:18
Anonymous28-Aug-03 8:18 

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.