|
-
May 19th, 2005, 04:43 PM
#1
Thread Starter
Frenzied Member
sending a packet of data to a known IP address and port
Hello
Is it possible to write a VB application which would packetise say name and password into a data packet, which could then be sent over the net to a certain IP address and port number?
-
May 19th, 2005, 04:45 PM
#2
Re: sending a packet of data to a known IP address and port
You may try the WinSock Control I think ti can do what you are asking 
Cheers,
RyanJ
-
May 19th, 2005, 05:03 PM
#3
Fanatic Member
Re: sending a packet of data to a known IP address and port
use senddata and getdata of winsock control..
don't forget to set remote ip & port open... OK ..
-
May 21st, 2005, 06:38 AM
#4
Thread Starter
Frenzied Member
Re: sending a packet of data to a known IP address and port
can you point me to any tutorials/stickies which can help me
-
May 21st, 2005, 08:07 AM
#5
Addicted Member
Re: sending a packet of data to a known IP address and port
Your first post makes what you're saying you want to do sound VERY shady...
-
May 21st, 2005, 12:10 PM
#6
Re: sending a packet of data to a known IP address and port
If you want to set up a client/server then use the winsock control but you need an application on the remote PC is this what you are tryign to do?
-
May 21st, 2005, 05:21 PM
#7
Thread Starter
Frenzied Member
Re: sending a packet of data to a known IP address and port
, no, it is not a shady thing that i wanted to do. i actually wanted to do this application which sat on clients, but the authorisation to run the application would be given on the server.
so when you run the applicaton on the client, it would seek permission from the server before it could go to the next step
-
May 22nd, 2005, 03:26 AM
#8
Re: sending a packet of data to a known IP address and port
Your going to have to explain your prolem more, i have no idea sorry
-
May 22nd, 2005, 04:46 AM
#9
Junior Member
Re: sending a packet of data to a known IP address and port
That's not difficult to do, however, you'd probably want to use UDP rather TCP (TCP would be overkill if you just want to send a single "packet" of data). If you're running this on a local network, you wouldn't even need to know the specific IP address of the server; you could broadcast your datagram and have the server respond to any authentication requests. That's how a lot of programs which use floating network licenses work.
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
|