there is a few months (maybe even a year at least),
I made a chat program that allows you chat with someone using TCP/IP protocol (so on Internet or LAN). But it's bugged but that's not the matter.
And the feature of this prog is that datas are sent each time you type a key on your keyboard. (kinda "in live")

Here is my question:
Is the right (or a right) method to create 2 sockets ?? (I mean I created 2 sockets on both computers, in fact there's not a server and a client prog, it's the same executable)

As the question is not so significant, download the prog:
The prog I made is downloadable at : here
(it's in rar format, if you don't have Winrar, contact me to send a zip)

Thanks for your help.

Posted on 2002-03-16 16:51:06 by Vom-bonjour:-()
The server side has one listening socket, which just listens for incomming connection but doesn't actually send data, and another one which is the return value of accept when an incomming connection is accepted. This is the socket used for sending and receiving data.

The client side has a single socket, which connects to the server and can then be used for two-way communication.

Thomas (me not you ;) )
Posted on 2002-03-16 17:11:24 by Thomas
Thomas (me not you )
I doubt it. he-he. bad joke :grin:

I'd definitely take a look at your work bonjour. I'm working on something similar right now ( in C++/Python though :( ). (Posted on 2002-03-19 11:37:19 by pixelwise
I have a chat program I am working on also
it is taking me some time, as I also work.
I got it to work on most OS's but I am just
wondering if it works on all vertios of 95/98/me/xp

can anyone help? sooner I get answers then I
will compleate the program,
download it and try it at: http://www.zcoder.com/win32chat.exe

Thank you....

Vom-bonjour, maybe my source would help you
with your program, just let me know...

Posted on 2002-04-02 23:40:30 by Zcoder
Very nice application...

I like the multiple client aspect :)

I'll check it for bugs later, but initial tests are good...

Win98 Second Ed.

Posted on 2002-04-03 00:08:08 by Sliver