Click here to Skip to main content
15,889,931 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Winsock2 and getting IP address of a CONNECTING entity Pin
Ravi Bhavnani25-Feb-05 16:03
professionalRavi Bhavnani25-Feb-05 16:03 
GeneralRe: Winsock2 and getting IP address of a CONNECTING entity Pin
TheBurninator26-Feb-05 6:22
sussTheBurninator26-Feb-05 6:22 
GeneralRe: Winsock2 and getting IP address of a CONNECTING entity Pin
cmk27-Feb-05 10:29
cmk27-Feb-05 10:29 
GeneralRe: Winsock2 and getting IP address of a CONNECTING entity Pin
Theburninator1-Mar-05 10:05
sussTheburninator1-Mar-05 10:05 
GeneralRe: Winsock2 and getting IP address of a CONNECTING entity Pin
cmk1-Mar-05 10:37
cmk1-Mar-05 10:37 
GeneralRe: Winsock2 and getting IP address of a CONNECTING entity Pin
TheBurninator1-Mar-05 10:59
sussTheBurninator1-Mar-05 10:59 
GeneralRe: Winsock2 and getting IP address of a CONNECTING entity Pin
cmk1-Mar-05 11:13
cmk1-Mar-05 11:13 
GeneralRe: Winsock2 and getting IP address of a CONNECTING entity Pin
TheBurninator1-Mar-05 11:57
sussTheBurninator1-Mar-05 11:57 
Thanks again, I'm stumbling through this, though now I'm getting some very disconcerting warnings:

warning C4113: 'int (__stdcall *)(struct _WSABUF *,struct _WSABUF *,struct _QualityOfService *,struct _QualityOfService *,struct _WSABUF *,struct _WSABUF *,unsigned int *)' differs in paramet
er lists from 'int (__stdcall *)(struct _WSABUF *,struct _WSABUF *,struct _QualityOfService *,struct _QualityOfService *,struct _WSABUF *,struct _WSABUF *,unsigned int *,unsigned long )'
warning C4047: 'function' : 'unsigned long ' differs in levels of indirection from 'void *'
warning C4024: 'WSAAccept' : different types for formal and actual parameter 5

And my WSAAccept call is
socketClient = WSAAccept(listenSocket, (LPSOCKADDR)&SockAddr, &nLen,ConditionFunc,NULL);

Don't really care about the data at the moment, but it does build and link, so I'm not sure of the implications on the execution yet


oh and the
IN DWORD_PTR dwCallbackData
Had to be removed from the parameter listfor some strange reason otherwise I would get....
error C2146: syntax error : missing ')' before identifier 'dwCallbackData'
error C2081: 'DWORD_PTR' : name in formal parameter list illegal
error C2061: syntax error : identifier 'dwCallbackData'
error C2059: syntax error : ';'
error C2059: syntax error : ')'
error C2449: found '{' at file scope (missing function header?)
error C2059: syntax error : '}'

Thanks a lot, I really appreciate your effort...
GeneralRe: Winsock2 and getting IP address of a CONNECTING entity Pin
TheBurninator1-Mar-05 12:19
sussTheBurninator1-Mar-05 12:19 
GeneralRe: Winsock2 and getting IP address of a CONNECTING entity Pin
TheBurninator1-Mar-05 12:31
sussTheBurninator1-Mar-05 12:31 
GeneralRe: Winsock2 and getting IP address of a CONNECTING entity Pin
cmk1-Mar-05 17:05
cmk1-Mar-05 17:05 
GeneralHelp! how to alter the ScrollBar control's color Pin
kcynic25-Feb-05 15:09
kcynic25-Feb-05 15:09 
GeneralRe: Help! how to alter the ScrollBar control's color Pin
Branislav25-Feb-05 21:48
Branislav25-Feb-05 21:48 
GeneralRe: Help! how to alter the ScrollBar control's color Pin
kcynic28-Feb-05 14:29
kcynic28-Feb-05 14:29 
GeneralA little unicode question. Pin
Member 1219625225-Feb-05 14:02
Member 1219625225-Feb-05 14:02 
GeneralRe: A little unicode question. Pin
PJ Arends25-Feb-05 14:16
professionalPJ Arends25-Feb-05 14:16 
GeneralRe: A little unicode question. Pin
Member 1219625226-Feb-05 0:36
Member 1219625226-Feb-05 0:36 
Generalc++ bool variable Pin
tnvols25-Feb-05 12:46
tnvols25-Feb-05 12:46 
GeneralRe: c++ bool variable Pin
Maximilien25-Feb-05 14:50
Maximilien25-Feb-05 14:50 
GeneralRe: c++ bool variable Pin
tnvols25-Feb-05 16:04
tnvols25-Feb-05 16:04 
GeneralRe: c++ bool variable Pin
Ravi Bhavnani25-Feb-05 16:10
professionalRavi Bhavnani25-Feb-05 16:10 
GeneralRe: c++ bool variable Pin
tnvols25-Feb-05 16:32
tnvols25-Feb-05 16:32 
GeneralRe: c++ bool variable Pin
rbid25-Feb-05 20:01
rbid25-Feb-05 20:01 
GeneralRe: c++ bool variable Pin
tnvols25-Feb-05 23:04
tnvols25-Feb-05 23:04 
GeneralRe: c++ bool variable Pin
Ravi Bhavnani25-Feb-05 16:05
professionalRavi Bhavnani25-Feb-05 16:05 

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.