|
-
Jan 11th, 2001, 05:32 AM
#1
Thread Starter
New Member
There is message transfer between two computers (e.g. A & B)through a specific port number (e.g. 100) by an application.
How can I write a VB program ( on computer B) in order to get the messages sent from computer A to B at port 1000?
-
Jan 11th, 2001, 01:00 PM
#2
Frenzied Member
You will have to write a listener (server program) that will listen for connect requests on the port. When the request arrives, it will establish a session and wait for the messages.
See Using the Winsock Control for more information.
If you still need help, write me. I do a lot of TCP/IP programming on a number of platforms.
-
Jan 14th, 2001, 06:21 PM
#3
New Member
Ok, firstly, If you have never tried this before read that link that "ccoder" has placed, its useful, secondly you can use any port, just dont use ones like 21, 80, 6667 cause your other apps WILL NOT like it.
The next step is UDP, this is the control in Winsocks for chat apps, you really have to learn how to do that, it is a little hard at first but very soon you'll get to grips with it.
Just out of point, took me 3 hours to learn it, I have been converting the message command, into a fully secure command interface for the server that I have been programming for several months now and it is a very usefull command to use, good luck
MS Basic isnt basic, its an illusion I tell you a lie, dont believe it!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|