Click here to Skip to main content
15,920,005 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Class Problem? Pin
souldog15-Oct-03 22:26
souldog15-Oct-03 22:26 
QuestionHow catch a button in the system taskbar?online wait! Pin
Paristam15-Oct-03 21:14
Paristam15-Oct-03 21:14 
QuestionHow do I programatically add a RAS direct connection via COM5, not just only start the wizard ? Pin
Thomas Rinshofer15-Oct-03 21:13
Thomas Rinshofer15-Oct-03 21:13 
GeneralHelp me!Very hurry! Pin
Paristam15-Oct-03 20:14
Paristam15-Oct-03 20:14 
GeneralRe: Help me!Very hurry! Pin
Randhir Sinha15-Oct-03 21:01
Randhir Sinha15-Oct-03 21:01 
GeneralRe: RemoveDirectory() not working in Win2000 Pin
J. Dunlap15-Oct-03 20:27
J. Dunlap15-Oct-03 20:27 
GeneralRe: RemoveDirectory() not working in Win2000 Pin
Randhir Sinha16-Oct-03 2:19
Randhir Sinha16-Oct-03 2:19 
GeneralSocket problem here Pin
Cyberizen15-Oct-03 20:01
Cyberizen15-Oct-03 20:01 
Hello ppl

following is the code snippet
if(!AfxSocketInit())
AfxMessageBox("Socket Init Error");
if(mysocket.Create(6000,SOCK_STREAM) == TRUE)
AfxMessageBox("Socket Created");

if(server.Create(3000,SOCK_STREAM) == TRUE)
AfxMessageBox("Server Socket Created");

if(server.Connect("172.16.65.122",6000) == TRUE)
AfxMessageBox("Connected to client");
else
{
int a = server.GetLastError();
AfxMessageBox((CString)a);
}

what i am trying to do here is that i need to connect to the same machine using socks for that reason i have created two sockets one that actually should act as a client and other as a server now both the sockets are created successfully but server is unable to connect to the client (remember client is the same machine as server) the error no that is returned is 3 and i dont know what it means please help me out i am a socket newbie
thanks
GeneralRe: Socket problem here Pin
jmkhael15-Oct-03 22:33
jmkhael15-Oct-03 22:33 
Generalarabic support Pin
Anonymous15-Oct-03 19:40
Anonymous15-Oct-03 19:40 
GeneralLinker errors on Unicode version of BCGSoft library Pin
Uwe Keim15-Oct-03 19:39
sitebuilderUwe Keim15-Oct-03 19:39 
GeneralRe: Linker errors on Unicode version of BCGSoft library Pin
sexywetdeath17-Oct-03 2:34
sexywetdeath17-Oct-03 2:34 
QuestionHow do I declare a function ? Pin
Anonymous15-Oct-03 18:58
Anonymous15-Oct-03 18:58 
AnswerRe: How do I declare a function ? Pin
Randhir Sinha15-Oct-03 20:17
Randhir Sinha15-Oct-03 20:17 
AnswerRe: How do I declare a function ? Pin
PremL17-Oct-03 6:09
PremL17-Oct-03 6:09 
GeneralMFC DLL Help Pin
Mike Danberg15-Oct-03 17:21
Mike Danberg15-Oct-03 17:21 
GeneralRe: MFC DLL Help Pin
Mike Danberg15-Oct-03 19:36
Mike Danberg15-Oct-03 19:36 
GeneralRe: MFC DLL Help Pin
Mike Dimmick16-Oct-03 1:18
Mike Dimmick16-Oct-03 1:18 
GeneralRe: MFC DLL Help Pin
Mike Danberg16-Oct-03 6:41
Mike Danberg16-Oct-03 6:41 
GeneralVisual Studio.Net C++ bug Pin
Anonymous15-Oct-03 17:12
Anonymous15-Oct-03 17:12 
GeneralRe: Visual Studio.Net C++ bug Pin
Steve S15-Oct-03 21:57
Steve S15-Oct-03 21:57 
GeneralHTML Help with VC++ in .net Pin
dhhlam15-Oct-03 13:39
dhhlam15-Oct-03 13:39 
GeneralChange the size of the console window Pin
hkl15-Oct-03 13:05
hkl15-Oct-03 13:05 
Questionstd::bad_alloc exception when plenty of memory available? Pin
IGx8915-Oct-03 12:56
IGx8915-Oct-03 12:56 
AnswerRe: std::bad_alloc exception when plenty of memory available? Pin
IGx8915-Oct-03 13:32
IGx8915-Oct-03 13:32 

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.