How to make a Desktop viewer vb 2010~!

Heres your chance to share your own tutorials with the community. Just post them on here. If your lucky they may even be posted on the main site.
28 posts Page 2 of 3
User avatar
mandai
Coding God
Coding God
Posts: 2585
Joined: Mon Apr 26, 2010 6:51 pm

You should use an IP address that belongs to a local network interface on that machine that will be listening. The client will also use this IP if it is on the same network. Any port can be used as long as it is open and reachable.
User avatar
zachman61
VIP - Donator
VIP - Donator
Posts: 1891
Joined: Wed Dec 16, 2009 9:56 pm

very nice ProProgrammer
If this works
ill THANKS U!
Nailing my feet to the floor is easier than using my own muscles to balance, but you don't see me doing that :)
User avatar
smashvb
Just Registered
Just Registered
Posts: 8
Joined: Thu Feb 03, 2011 9:43 am

This is very nice, it works on my own machine, but I can't connect to people on a different machine, any tips?
User avatar
Noob.exe
Top Poster
Top Poster
Posts: 233
Joined: Wed Mar 31, 2010 6:42 pm

You should post a source for those that are too lazy to make one :)
<3 VB & Python
User avatar
Proprogrammer
VIP - Donator
VIP - Donator
Posts: 415
Joined: Sun Oct 03, 2010 11:14 pm

i will post a source for you guys and mad march!
------------------------------------------------------------------------------
Proprogrammer, not just a Programmer.
User avatar
lesan101
Top Poster
Top Poster
Posts: 193
Joined: Tue Jun 29, 2010 8:10 am

okay, i was able to make both client, and servr programs. no errors so far...

but i'm kind of lost on the connecting part. the person who has the "server" would be the one i will be watching?

also. how do i find out my network ip? and what port is open? do i need to fill out a port 2?
Image
User avatar
mandai
Coding God
Coding God
Posts: 2585
Joined: Mon Apr 26, 2010 6:51 pm

It would be possible to re-design this to reverse the roles of the client/server.
You can find out your LAN IP with the ipconfig command.
All ports are open by default unless you have firewall software running.
If you are doing this over TCP/UDP then yes you will need to specify both sets of ports.
User avatar
M1z23R
VIP - Donator
VIP - Donator
Posts: 622
Joined: Tue Sep 28, 2010 4:55 pm

I think you can do both things through one connection, there is no need for two of them i think !
User avatar
Zelsoft
Top Poster
Top Poster
Posts: 99
Joined: Mon Aug 10, 2009 4:41 am

hey can u help me out i made the client and server but i have no experience what so ever in making communication programs and ports n stuff you know what i mean so i put in my ip in the server and i put in the port 150 and the second one 150 and i opened to client and inputted 150 and 150 in the text boxes and in the server i clicked the button and it said that no connection can be made because the machine actively refused it can u help me out and be very specific and tell me exactly what to do because as i said before i have like 0 experience in this but anyways awesome job with this program :D
- WuSaMi Bringing the Pro in Programmers Once again
User avatar
lesan101
Top Poster
Top Poster
Posts: 193
Joined: Tue Jun 29, 2010 8:10 am

mandai wrote:
It would be possible to re-design this to reverse the roles of the client/server.
You can find out your LAN IP with the ipconfig command.
All ports are open by default unless you have firewall software running.
If you are doing this over TCP/UDP then yes you will need to specify both sets of ports.
yeah i already have the lan ip, and port, but either way i input it on server, then input it on client and when i press listen, i get a debug error.

what am i supporse to press 1st, connect or listen?
Image
28 posts Page 2 of 3
Return to “Tutorials”