Send message "Hello world" to other computer using tcpip

Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Feb 2008
Posts: 7
Reputation: kzdev is an unknown quantity at this point 
Solved Threads: 0
kzdev kzdev is offline Offline
Newbie Poster

Send message "Hello world" to other computer using tcpip

 
0
  #1
Feb 17th, 2008
How can I send messages like "hello world", and receive from another computer using tcpip? Any code-example using VB6?
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 16,192
Reputation: jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all 
Solved Threads: 536
Moderator
Featured Poster
jbennet's Avatar
jbennet jbennet is offline Offline
Moderator

Re: Send message "Hello world" to other computer using tcpip

 
0
  #2
Feb 17th, 2008
yeah do a google for "winsock client/server"
If i am helpful, please give me reputation points.
Reply With Quote Quick reply to this message  
Join Date: Feb 2008
Posts: 7
Reputation: kzdev is an unknown quantity at this point 
Solved Threads: 0
kzdev kzdev is offline Offline
Newbie Poster

Re: Send message "Hello world" to other computer using tcpip

 
0
  #3
Feb 18th, 2008
thank you, I found something according to your suggestions.
Reply With Quote Quick reply to this message  
Join Date: Feb 2007
Posts: 2,099
Reputation: debasisdas will become famous soon enough debasisdas will become famous soon enough 
Solved Threads: 128
debasisdas's Avatar
debasisdas debasisdas is offline Offline
Postaholic

Re: Send message "Hello world" to other computer using tcpip

 
0
  #4
Feb 18th, 2008
Yes winsock is the solution. You can also try to use MAPI control.
Share your Knowledge.
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 16,192
Reputation: jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all 
Solved Threads: 536
Moderator
Featured Poster
jbennet's Avatar
jbennet jbennet is offline Offline
Moderator

Re: Send message "Hello world" to other computer using tcpip

 
0
  #5
Feb 18th, 2008
if you dont want client/server model, but want peer to peer then look into multithreading
If i am helpful, please give me reputation points.
Reply With Quote Quick reply to this message  
Join Date: May 2007
Posts: 537
Reputation: choudhuryshouvi is an unknown quantity at this point 
Solved Threads: 49
choudhuryshouvi's Avatar
choudhuryshouvi choudhuryshouvi is offline Offline
Posting Pro

Re: Send message "Hello world" to other computer using tcpip

 
0
  #6
Feb 19th, 2008
you can also use an external utility to send messages through a network.
use the "net" utility.
from vb u can use it with the shell function

for example :-
Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
  1. shell "net send server hello world"
where "server" is the name of the remote computer you are trying to send message and "heelo world" is the msg to be sent.

mind that this utility works in winxp platform only.

regards
Shouvik
Shouvik_The_Expert_Coder
Have a problem? Don't worry just give me a call and I'll fix it for you.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the Visual Basic 4 / 5 / 6 Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC