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

C / C++ / MFC

 
QuestionFace Recognition using opencv and c++ Pin
nonness29-May-13 1:08
nonness29-May-13 1:08 
AnswerRe: Face Recognition using opencv and c++ Pin
Chris Losinger29-May-13 9:06
professionalChris Losinger29-May-13 9:06 
AnswerRe: Face Recognition using opencv and c++ Pin
Alan Balkany30-May-13 9:42
Alan Balkany30-May-13 9:42 
Questionproblem on show messagebox on ON_EN_CHANGE of edit control. Pin
Le@rner29-May-13 0:05
Le@rner29-May-13 0:05 
AnswerRe: problem on show messagebox on ON_EN_CHANGE of edit control. Pin
Richard MacCutchan29-May-13 6:58
mveRichard MacCutchan29-May-13 6:58 
AnswerRe: problem on show messagebox on ON_EN_CHANGE of edit control. Pin
Newbie0029-May-13 8:12
Newbie0029-May-13 8:12 
GeneralRe: problem on show messagebox on ON_EN_CHANGE of edit control. Pin
Le@rner7-Jun-13 21:24
Le@rner7-Jun-13 21:24 
QuestionA strange appearance about the NaN 1.#IND Pin
Henry Hong28-May-13 19:11
Henry Hong28-May-13 19:11 
AnswerRe: A strange appearance about the NaN 1.#IND Pin
«_Superman_»28-May-13 19:36
professional«_Superman_»28-May-13 19:36 
GeneralRe: A strange appearance about the NaN 1.#IND Pin
Henry Hong28-May-13 20:04
Henry Hong28-May-13 20:04 
GeneralRe: A strange appearance about the NaN 1.#IND Pin
«_Superman_»28-May-13 20:14
professional«_Superman_»28-May-13 20:14 
GeneralRe: A strange appearance about the NaN 1.#IND Pin
Henry Hong28-May-13 20:32
Henry Hong28-May-13 20:32 
GeneralRe: A strange appearance about the NaN 1.#IND Pin
«_Superman_»28-May-13 20:45
professional«_Superman_»28-May-13 20:45 
GeneralRe: A strange appearance about the NaN 1.#IND Pin
Henry Hong28-May-13 23:37
Henry Hong28-May-13 23:37 
GeneralRe: A strange appearance about the NaN 1.#IND Pin
Henry Hong29-May-13 16:23
Henry Hong29-May-13 16:23 
QuestionCAsyncSocket questions Pin
ForNow28-May-13 4:43
ForNow28-May-13 4:43 
AnswerRe: CAsyncSocket questions Pin
Sivaraman Dhamodharan28-May-13 20:49
Sivaraman Dhamodharan28-May-13 20:49 
GeneralRe: CAsyncSocket questions Pin
ForNow28-May-13 22:33
ForNow28-May-13 22:33 
I have 4 CAsyncSocket derived classes wrapped inside 4 Derived CWinThread Class

in the CWinThread::Initinstance I set the ipaddr = "192.168.1.4"

When I use NULL as the last parameter in the CAsynSocket::create or BIND I am successful in creating
a socket however when I use the ipaddr "192.168.1.4" the ipaddr of the machine I get


WSAEADDRNOTAVAIL

The listening code is MainFrame Assembler EZASMI select which is intended to process multiple I/O's
on multiple sockets

ASM
EZASMI TYPE=SELECT,      Issue Macro
     MAXSOC=MAXSOC1,    SPECIFY MAXIMUM NUMBER OF SOCKETS
     TIMEOUT=TIMEVAL,
     RSNDMSK=RSNDMSK,   READ MASK
     RRETMSK=RRETMSK,   RETURN FROM READ
     WSNDMSK=WSNDMSK,   WRITE MASK
     WRETMSK=WRETMSK,   RETURN FROM WRITE
     ESNDMSK=ESNDMSK,
     ERETMSK=ERETMSK,
     ERRNO=ERRNO,       (Specify ERRNO field)
     RETCODE=RETCODE,   (Specify RETCODE field)
     ECB=MY_ECB,        MAIN TASK EMB
     ERROR=ERROR,       Abend if Macro error
     TASK=MYTIE,
     MF=(E,MY_PARM)

C++
 thisocket.Socket(SOCK_STREAM,FD_READ|FD_WRITE|FD_CONNECT,NULL,AF_INET);
	if(thisocket.Bind(thisocket.port,ipaddr) == 0)
		 error_code = GetLastError();
thisocket.GetSockOpt(SO_KEEPALIVE | SO_DEBUG, &thisocket.option,val_ptr, SOL_SOCKET); 
	    if(thisocket.SetSockOpt(SO_KEEPALIVE | SO_DEBUG, &thisocket.option,val, SOL_SOCKET) == 0)
				 error_code = GetLastError(); 

Questionproblem with using program Creating a Serial communication on Win32 Pin
sindbad1128-May-13 2:00
sindbad1128-May-13 2:00 
AnswerRe: problem with using program Creating a Serial communication on Win32 Pin
Jochen Arndt28-May-13 2:19
professionalJochen Arndt28-May-13 2:19 
GeneralRe: problem with using program Creating a Serial communication on Win32 Pin
sindbad1128-May-13 22:07
sindbad1128-May-13 22:07 
GeneralRe: problem with using program Creating a Serial communication on Win32 Pin
Jochen Arndt28-May-13 22:52
professionalJochen Arndt28-May-13 22:52 
GeneralRe: problem with using program Creating a Serial communication on Win32 Pin
sindbad1128-May-13 23:49
sindbad1128-May-13 23:49 
GeneralRe: problem with using program Creating a Serial communication on Win32 Pin
Jochen Arndt29-May-13 0:31
professionalJochen Arndt29-May-13 0:31 
GeneralRe: problem with using program Creating a Serial communication on Win32 Pin
sindbad1112-Aug-13 1:19
sindbad1112-Aug-13 1:19 

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.