Click here to Skip to main content
12,503,080 members (62,182 online)

ATL / WTL / STL

 
Questionget instance of object (in exe) from dll caller Pin
khaliloenit17-Sep-12 4:38
memberkhaliloenit17-Sep-12 4:38 
AnswerRe: get instance of object (in exe) from dll caller Pin
pasztorpisti17-Sep-12 6:57
memberpasztorpisti17-Sep-12 6:57 
GeneralRe: get instance of object (in exe) from dll caller Pin
khaliloenit17-Sep-12 9:32
memberkhaliloenit17-Sep-12 9:32 
JokeRe: get instance of object (in exe) from dll caller Pin
pasztorpisti17-Sep-12 13:43
memberpasztorpisti17-Sep-12 13:43 
GeneralRe: get instance of object (in exe) from dll caller Pin
pasztorpisti17-Sep-12 13:48
memberpasztorpisti17-Sep-12 13:48 
AnswerRe: get instance of object (in exe) from dll caller Pin
Richard MacCutchan17-Sep-12 22:16
mvpRichard MacCutchan17-Sep-12 22:16 
AnswerRe: get instance of object (in exe) from dll caller Pin
Stephen Hewitt18-Sep-12 18:49
memberStephen Hewitt18-Sep-12 18:49 
QuestionCAsyncSocket Connect says in use Pin
bkelly1316-Sep-12 6:07
memberbkelly1316-Sep-12 6:07 
Answerunexpected behavior Pin
bkelly1316-Sep-12 10:07
memberbkelly1316-Sep-12 10:07 
AnswerRe: CAsyncSocket Connect says in use Pin
Richard Andrew x6416-Sep-12 11:53
memberRichard Andrew x6416-Sep-12 11:53 
AnswerRe: CAsyncSocket Connect says in use Pin
pasztorpisti16-Sep-12 12:05
memberpasztorpisti16-Sep-12 12:05 
GeneralRe: CAsyncSocket Connect says in use Pin
bkelly1316-Sep-12 12:55
memberbkelly1316-Sep-12 12:55 
GeneralRe: CAsyncSocket Connect says in use Pin
pasztorpisti16-Sep-12 13:09
memberpasztorpisti16-Sep-12 13:09 
GeneralRe: CAsyncSocket Connect says in use Pin
bkelly1316-Sep-12 13:17
memberbkelly1316-Sep-12 13:17 
[QUOTE]First go and check whether you (or your CAsyncSocket class) issue a bind() call to the client socket before the connect call.[/QUOTE]

No it does not. So it should Call the Bind in the Client before the Connect?

Thanks for your time

Edit: What is the code to mark a quote?

Edit: according to an MSDN page, Create() calls socket and if sucessful calls Bind. If it calls Bind, why should I explicitly call bind.
http://msdn.microsoft.com/en-us/library/xz019029(v=vs.80).aspx[^]
GeneralRe: CAsyncSocket Connect says in use Pin
pasztorpisti16-Sep-12 13:34
memberpasztorpisti16-Sep-12 13:34 
GeneralRe: CAsyncSocket Connect says in use Pin
bkelly1316-Sep-12 14:07
memberbkelly1316-Sep-12 14:07 
Questionbetter version of strcpy() and printf() Pin
bkelly1315-Sep-12 10:02
memberbkelly1315-Sep-12 10:02 
AnswerRe: better version of strcpy() and printf() Pin
Paul Watt15-Sep-12 12:33
mentorPaul Watt15-Sep-12 12:33 
GeneralRe: better version of strcpy() and printf() Pin
bkelly1315-Sep-12 15:34
memberbkelly1315-Sep-12 15:34 
GeneralRe: better version of strcpy() and printf() Pin
Paul Watt15-Sep-12 15:45
mentorPaul Watt15-Sep-12 15:45 
GeneralRe: better version of strcpy() and printf() Pin
bkelly1315-Sep-12 16:23
memberbkelly1315-Sep-12 16:23 
GeneralRe: better version of strcpy() and printf() Pin
pasztorpisti16-Sep-12 6:54
memberpasztorpisti16-Sep-12 6:54 
GeneralRe: better version of strcpy() and printf() Pin
Richard MacCutchan16-Sep-12 0:10
mvpRichard MacCutchan16-Sep-12 0:10 
AnswerRe: better version of strcpy() and printf() Pin
Richard Andrew x6415-Sep-12 17:01
memberRichard Andrew x6415-Sep-12 17:01 
AnswerRe: better version of strcpy() and printf() Pin
Richard MacCutchan16-Sep-12 0:09
mvpRichard MacCutchan16-Sep-12 0:09 
AnswerRe: better version of strcpy() and printf() Pin
pasztorpisti16-Sep-12 1:37
memberpasztorpisti16-Sep-12 1:37 
AnswerRe: better version of strcpy() and printf() Pin
Stephen Hewitt18-Sep-12 0:29
memberStephen Hewitt18-Sep-12 0:29 
Questionget a number into static text control Pin
bkelly1313-Sep-12 17:05
memberbkelly1313-Sep-12 17:05 
AnswerRe: get a number into static text control Pin
Richard MacCutchan13-Sep-12 21:52
mvpRichard MacCutchan13-Sep-12 21:52 
GeneralRe: get a number into static text control Pin
bkelly1314-Sep-12 15:00
memberbkelly1314-Sep-12 15:00 
GeneralRe: get a number into static text control Pin
Paul Watt14-Sep-12 15:36
mentorPaul Watt14-Sep-12 15:36 
GeneralRe: get a number into static text control Pin
Richard MacCutchan14-Sep-12 23:02
mvpRichard MacCutchan14-Sep-12 23:02 
GeneralRe: get a number into static text control Pin
bkelly1315-Sep-12 5:14
memberbkelly1315-Sep-12 5:14 
GeneralRe: get a number into static text control Pin
Richard MacCutchan15-Sep-12 5:42
mvpRichard MacCutchan15-Sep-12 5:42 
QuestionMirroring system imagelist Pin
huzifa3011-Sep-12 15:27
memberhuzifa3011-Sep-12 15:27 
QuestionCAsyncSocket, first application Pin
bkelly139-Sep-12 5:26
memberbkelly139-Sep-12 5:26 
AnswerRe: CAsyncSocket, first application Pin
Paul Watt14-Sep-12 15:47
mentorPaul Watt14-Sep-12 15:47 
QuestionAfxGetThread vs GetCurrentThreadID Pin
kishorekumarnaik6-Sep-12 6:52
memberkishorekumarnaik6-Sep-12 6:52 
AnswerRe: AfxGetThread vs GetCurrentThreadID Pin
Jiří Miklík7-Sep-12 0:24
memberJiří Miklík7-Sep-12 0:24 
Questionerror C2039: 'abort' : is not a member of 'std' Pin
KASR12-Sep-12 23:35
memberKASR12-Sep-12 23:35 
AnswerRe: error C2039: 'abort' : is not a member of 'std' Pin
Richard MacCutchan3-Sep-12 0:50
mvpRichard MacCutchan3-Sep-12 0:50 
GeneralRe: error C2039: 'abort' : is not a member of 'std' Pin
KASR13-Sep-12 1:44
memberKASR13-Sep-12 1:44 
GeneralRe: error C2039: 'abort' : is not a member of 'std' Pin
Richard MacCutchan3-Sep-12 2:21
mvpRichard MacCutchan3-Sep-12 2:21 
AnswerRe: error C2039: 'abort' : is not a member of 'std' Pin
Stephen Hewitt3-Sep-12 16:54
memberStephen Hewitt3-Sep-12 16:54 
GeneralRe: error C2039: 'abort' : is not a member of 'std' Pin
KASR13-Sep-12 19:46
memberKASR13-Sep-12 19:46 
GeneralRe: error C2039: 'abort' : is not a member of 'std' Pin
Richard MacCutchan3-Sep-12 22:18
mvpRichard MacCutchan3-Sep-12 22:18 
GeneralRe: error C2039: 'abort' : is not a member of 'std' Pin
KASR13-Sep-12 22:29
memberKASR13-Sep-12 22:29 
GeneralRe: error C2039: 'abort' : is not a member of 'std' Pin
Richard MacCutchan3-Sep-12 23:23
mvpRichard MacCutchan3-Sep-12 23:23 
GeneralRe: error C2039: 'abort' : is not a member of 'std' Pin
KASR14-Sep-12 2:36
memberKASR14-Sep-12 2:36 
GeneralHow to print file inclusion stack in VC6 Pin
KASR16-Aug-12 23:43
memberKASR16-Aug-12 23:43 

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.


Advertise | Privacy | Mobile
Web01 | 2.8.160919.1 | Last Updated 30 Jul 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid