Originally posted by: Usman AKram
This is extremly wonder ful and it is the only thing I was looking for
ReplyOriginally posted by: Ram
I am trying to run 2 clients on the same machine. is it possible to run the program on a single machine and if so then how. can u give me the instructions. i tried using VC++, but it does not let me open the second client. hence i am not able to execute the code.
it says so,
DEBUG ASSERTION FAILED !
SEE VISUAL C++ DOCUMENTATION on ASSERTS
(pls retry to debug application)
[abort] [retry] [ignore]
Originally posted by: Gulzar
Dear Friend,
How can i run the multicast software on a single machine for debugging purposes(Since i have got only one computer ).I am using the server program from the voice chat coding but the client is not connecting to the server.
Originally posted by: Gulzar
Dear Friend,
I think that in the peer to peer case both the peers should have an OnReceive() handler with a mysocket pointer as a parameter so that they can save themselves from receiving there own voice data.
Do you agree?
Originally posted by: Kashif
Dear Friend,
You have not understood my question.
In my case there are only two clients,one is acting as a server and the other is acting as a client.
The server will listen and the client will connect to the server (Peer to Peer case).
When the server receives a voice message it has to play it
using "PlaySound1" class( Now the server don't have to send it to clients.Since there is only one client who is actually the sender of the voice data ).For sending messages the server has to use "RecordSound" class and "sendMessage" function.
Do you agree with me or not?
What about the echo problem ? How can i save a client from receiving his/her own message.
The word message used in above paragraphs is actually voice message.
In Peer to Peer case updateList(),updateState() are useless.Since there are only two clients and the server and client processes are run in threads( no gui ).Therefore the clients will only send voice data.
No new user or any other message(for the sake of simplicity).
Yours sincerely
Kashif Gulzar
Originally posted by: Kashif
Dear Friend,
In real applications mostly we connect to one client and perform voice conversation. How can i change the code from server to multi client to a simple peer to peer one ( client to client )
Originally posted by: munchkin
How do I run the server app on a remote web server?
ReplyOriginally posted by: fasid
i have tested ur program in real time it also reconizes the other side connecting ie it reads the system but it does not connect.so in real time it is not working kindly get us some help on this issue
fasid
Originally posted by: shyam
plz test the program once again..
did u tested this program in real time? why because when i chekced in the lan it is working ..but in real time it is not working...in the lan also some times the program is exiting ...
shyam
Originally posted by: TRITUL
HY I LIKE UR THINGKING ...............................
.....................TRY THE BEST