Binding an application to a specified port (Visual Basics)

WarDemon666

Platinum Member
Nov 28, 2000
2,224
0
0
Im making a kind of telnet program, so that when im out i can access my computer fully. What i want to be able to do is bind a program to a port. Lets say i bind my command.com, on port 21, i want to be able to connect to this port with telnet....

any ideas on how i could do this?

Thanks in advance!
Carl
 

DaveSimmons

Elite Member
Aug 12, 2001
40,730
670
126
Are you trying to write a server app in VB? Search MSDN for "wininet VB" and maybe "server VB" or check out www.codeproject.com (ed) and Google, some possible searches are "VB internet server" and "VB socket listen"

Otherwise, buy a copy of PC-Anywhere?
 

WarDemon666

Platinum Member
Nov 28, 2000
2,224
0
0
What im trying to do is just make a server application, that will ONLY redirect my command shell, to a specified port. I want to be able to connect to it with telnet, and have access to the whole system. Like that i can use ftp to transfer files and stuff. I dont want to have a client/server ive made lots of these, but they are just too chunky. If i could just have a server, under 100KB, that will redirect the command,com to a port, that will be perfect

What's RDC?

Ive already made a PC anywhere program, but its too chunky....

Anyone got any ideas?
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Why not just install the telnet server?

And it's Visual Basic, no trailing 's'.
 

DaveSimmons

Elite Member
Aug 12, 2001
40,730
670
126
I'm trying not to be suspicious of this being a h4x0r / trojan type tool -- saying you can't use any existing apps because they're "too chunky" makes it hard though.

(edit) just because I'm paranoid it doesn't mean you aren't out to get me! (runs and hides)