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?
Printable View
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?
You may try the WinSock Control I think ti can do what you are asking :)
Cheers,
RyanJ
use senddata and getdata of winsock control..
don't forget to set remote ip & port open... OK ..
can you point me to any tutorials/stickies which can help me
Your first post makes what you're saying you want to do sound VERY shady...
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?
:), 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
Your going to have to explain your prolem more, i have no idea :( sorry
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.