|
That is the answer to shivditya's post....
|
|
|
|
|
Owner drawn wrote: Man I'm asking for tips on how to start on COM programming and I needed suggestions. That's it.
Buddy,I believe, Every Message in thread started by you, NOT belong to you ... that message is for Shivditya.. who i believe doesn't know the common lingo use here.....
Owner drawn wrote: and not the Other one..
Actually is Cool,hang out place situated in DELHI (capital of India)
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
Cool...
ThatsAlok wrote: If you living in India near Delhi CP stands for Connaught Place
i think u meant Connaught Palace...
|
|
|
|
|
Owner Drawn
--Nothing special
|
|
|
|
|
*Dreamz wrote: i think u meant Connaught Palace...
yeap, forget the 'A'
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
Owner drawn wrote: I am starting out on COM.
Congratulations.
Owner drawn wrote: Any help will be appreciated.
Help with what?
"Take only what you need and leave the land as you found it." - Native American Proverb
|
|
|
|
|
Hey this means I need some TIPS, from the guys who have been into COM for sooooooo long.
Owner Drawn
--Nothing special
|
|
|
|
|
Dear all,
I have created a server program & client program.
In the client program there is timer. when the timer expires a message is send to the server. It works fine only once. Second time the server program is not receiving the message.
client code execution when timer expires.
CSocket s;
s.Create();
s.Connect("localhost",8001);
s.Send(str,str.GetLength());
s.Close();
Can you help to solve this problem?
Thanks & regards
John davis
|
|
|
|
|
The problem is most likely at the server end. Does the server continue to listen for connections after the first connection?
Exaclty what winsock error number do you get at the client when you try to connect the second time?
Can you debug the server and see whats going on?
|
|
|
|
|
Hi josh,
thanks for the reply.. The server continues to listen for the message..
there is no error message coming at the client side.
thanks
john davis
|
|
|
|
|
the second time the client connect to server, is the connection established all right?
|
|
|
|
|
hi lucy,
it is connected without any problem. but data is not send.
thanks & regards
john davis
|
|
|
|
|
HTH:
// disable the Nagle algorithm for send coalescing
// so the short packet will be sent immediately
bool opt = 1;
if ( NO_ERROR != setsockopt(m_sdIp, IPPROTO_TCP, TCP_NODELAY,
(char *)&opt, sizeof(opt)) )
{
bWarning = true;
strWarning += _T("Set TCP_NODELAY failed.\n");
}
|
|
|
|
|
Is there any shorter way to bring back missing classview?
My entire ERP projects classview is missing. I am Keeping this problem on forum for fourth time please help.
|| ART OF LIVING ||
|
|
|
|
|
Not yet back?
Did you try deleting .ncb and .clw files??
|
|
|
|
|
Do you enjoy troubling people?
|| ART OF LIVING ||
|
|
|
|
|
No, my friend.....
I dont think anybody here does that...
I just wanted to help you..the same answer i gave for your previous post also..
I wanted to know the result....
|
|
|
|
|
In my backup copy when i implemented ur suggestion my classwizard diappeared and after rebuilding also nothing improved
|| ART OF LIVING ||
-- modified at 3:18 Friday 11th November, 2005
|
|
|
|
|
Yes..that is true..
But IDE will prompt you to create classwizard from the existing files...
|
|
|
|
|
Hi,
I am planning to take VC++ certifications that could add weight to my Resume. Not the free ones like Brain Bench certifications. Should be authentic and has to be taken from recognised promatic center. Has Microsoft have any plans to re-start VC++ certifications??
Please Help...
Nani
|
|
|
|
|
mandanani wrote: Has Microsoft have any plans to re-start VC++ certifications??
vc++ exams are already obselete.. now you can prepare for .net exams/certification
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
Hi all,
I need to select items in a tree with Ctrl and other keys
like ctrl+up arrow , ctrl+down arrow for traversing through the items and on on pressing ctrl+spacebar the item shud get selected.
I want to know when the setfocus() is called
when pressing ctrl+VK_UP
|
|
|
|
|
I have a socket server that is to establish a connection with only one client. I can accept the client fine and also receive the data from the client. My problem is that every time I want to reconnect to the server, I get a error message.
Debug Assertion Failed!<br />
<br />
Program: D:\TempProject\Debug\TempPrj.exe<br />
File: sockcore.cpp<br />
Line: 177
When I try and debug it says an unexpected breakpoint has been reached....
What does I have to do when the client disconnects? How do I get the server to come back up in the Listen() state again?
Thanks for helping a noob out.
|
|
|
|
|
NYTSX wrote: My problem is that every time I want to reconnect to the server, I get a error message.
I believe you are accepting the New Socket Connection on same variable without properly closing it...
First make a call to Close().. before acception new connection!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
I do call Close() when the disconnect button is pressed. At that point I also do a Listen() which I figured would allow for the next client to connect to the server?
Any more suggestions? Would this be sufficient to have the server always be ready to accept a connection when one is not already established?
|
|
|
|