Hello, Can this application help in sending files through a internet server to a wireless internet connected computer? How do i setup the server to allow a computer in the network to send files?
I really appreciate you for this kind of fantastic job. I was searching for a kit that could provide an interface between my application and network. I have used this kit to develop one of my application. But I'm facing a problem with it. Wherever there are two clients connected to my server on a network and if I try to receive big messages from them and if meanwhile if any of the users unplucks his cable from the network, the GUI part of this application gets hanged for a long time. I'm unable to do anything on my screen.
Kindly tell me the solution for this problem.
My email address is email@example.com.
Please help me
i've seen that the server remains blocked when you try to take out data from the CArchive object...
a solution (not so elegant) should be that you take the data out BYTE by BYTE). also if there was a way to see how much data is in the CArchive object then all should work just fine, because since you know how much you should read, and how much data you still have to read, then you can simply ignore the message...
so does anyone know how to see how much data is in a CArchive ?
right when i was writing this, another ideea comes to my stupid head...you can try to read the data into another CArchive BYTE by BYTE, then read the CMessage from this new CArchive object, knowing the size of it...
i don't know if you all realise, but than can be a serious pain in the as. when writing a program, because anyone can knock your server off...
so i was thinking on another enhancement that might be useful : to use the server and the client in RAW mode...i mean to be able to send and receive data without the header of the CMessage, just like sendind a simple buffer...(at least i kinda need this :))
and a last question (i promise) : does anyone know how does the Alcatel OmniPCX Office (OXO) outputs the CDR data ??? i need this like AIR !!!
Great code, really.
But, it fails in a pretty basic point.
The server/client communicates well, but if I am to telnet and send chars to the server it freezes.
Is there a way to check what the incoming message is and then accept/deny recieving it?
I try to find out if by using ping I get a safe way for a client to know if the connection to the server is still ok.
So far, here are my results:
Client ping the server:
If the server gets disconnected physically (unplug cable)from the network, the client never received the OnDisconnect()callback with appropriate error message.
A SendMessage() though generates the OnDisconnect() call callback
If the client gets physically disconected however, the OnDisconnect() callback is received by the client.
Hence, it seems I can't simply ping the server from the client side and count on OnDisconnect() to find out about the health of the server. A Timeout mechanism must be implemented.
I have found a small problem in the code, i.e the
destructor of the CNDKClient calls the function
CloseConnection which calls the pure virtual function
OnDisconnect. This results in the abnormal program
I have corrected this problem. The resulting code looks
hi there !
i have a suggestion for your PING/PONG problem...
you can try to make a timer, and send ping to all users, and then wait for reply...
if the next timer reaches, and a user has not send a reply then you can consider that user disconnected...ofcourse, the client should handle pings by itself...also, you can implement this to the client side, to see when the server is down or not...
and now the feature request...can you implement a user data for every connection ? i must store acceses for every user, and this should do it...also this feature has many more utilities...
thanx in advance, and please excuse my bad english...
This programm is very good, but even to big!
To big for my brain :-)
I want to write a very simple chatprogramm.
Programm with server configuratuion (start, end, port and members) and for example four buttons, which allow the administrator to tell the people what they have to do.
For example: "faster", "slower", "left" and "right"
Programm with client configuration (port, server,...) and a Bitmap, which changes from neutral (grey) to a simbol (one of the four above).
What will I need? Where do I have to start? Are there tutorials?