This will add winsock control to your toolbox
Add these controls to your form
CONTROL NAME CAPTION
command button cmdconnect connect
command button cmddisconnect Disconnect
command button cmdsend send
command button cmdclear Clear
command button cmdserver Serve as server
listbox list1 chat window
textbox txtip
textbox txtdata
label label1 Remote IP
label label2 Enter Text below
your form should now look like this
Add following code to code window
You can chat with remote computers by running the exe on two different computers,serving as server on one and connecting to this from another.
I am giving links to source files for ready code.
simple chat program
Here is a 'link to file transfer & remote file browser' program.
file transfer & remote file browser
Your file browser did me the favor. Very much thanks....
ReplyDelete