PDA

Click to See Complete Forum and Search --> : Winsock send string


dbgca1
May 8th, 2001, 08:15 AM
hi there...

I'm making a new program but i can't figure this out: I want to send a string to another computer using winsocket. But it seems that i can't connect with it.

Does anyone knows which port or whatever i have to use to get connected??

All i really want is to reboot the computer six floors downstairs.

Nirces
May 8th, 2001, 08:35 AM
Which ever your code is listening on

TheSarlacc
May 9th, 2001, 01:17 AM
put a proggie on the downstairs one that listens on a port using UDP,
and when u want to shut it down, get another proggie to send a string
that is interpreted by the downstairs one as a shutdown command.

cyberwarpy
May 9th, 2001, 11:27 PM
Have you tried to do a PortScan on the computer... which you want to connect to... a portscan program is a type of program that connects to another computer (by hostname or IP address) and scans the computer one-by-one to see which ports are open... Most computers that are running Win95/98 are open on 137/139...

Originally posted by dbgca1
hi there...

Does anyone knows which port or whatever i have to use to get connected??

All i really want is to reboot the computer six floors downstairs.

dbgca1
May 11th, 2001, 02:30 AM
hmz..

if i do that, i probably will be removed from the list of people with "special" privileges in the network. You see, i'm not a administrator or owner of the network here. I'm only making a study on VB and want to try some things. So if i make a portscan (with subseven or whatever) alarmbells, flashlights and sirene's will go off at the admin controlcenter. Within 10 minutes i'll get a message or phonecall from a *****ed up admin.

Al i really want to know is how to get the winsocket really works. I've tryed the example's from vb-world and from user suggestions but i only get an error or it does'nt response to anything.

The program Notifylink from www.qubenetworks.com works just fine but i need the source...:(

Louw Grobler101
May 11th, 2001, 03:43 AM
Check out the msdn/vb doc/reference/ActiveX controls/winsock

dbgca1
May 11th, 2001, 04:29 AM
..:( and what i've i don't have the msdn library?? Why do you think i asked it here?

Louw Grobler101
May 11th, 2001, 04:55 AM
I don't wanna sound stupid but,
did you know the msdn lib is online
at http://msdn.microsoft.com/library/default.asp