|
-
May 8th, 2001, 08:15 AM
#1
Thread Starter
Lively Member
Winsock send string
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.
-
May 8th, 2001, 08:35 AM
#2
Addicted Member
Which ever your code is listening on
-
May 9th, 2001, 01:17 AM
#3
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.
-
May 9th, 2001, 11:27 PM
#4
Addicted Member
Re: Winsock send string
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.
-
May 11th, 2001, 02:30 AM
#5
Thread Starter
Lively Member
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...
-
May 11th, 2001, 03:43 AM
#6
Junior Member
Check out the msdn/vb doc/reference/ActiveX controls/winsock
-
May 11th, 2001, 04:29 AM
#7
Thread Starter
Lively Member
.. and what i've i don't have the msdn library?? Why do you think i asked it here?
-
May 11th, 2001, 04:55 AM
#8
Junior Member
I don't wanna sound stupid but,
did you know the msdn lib is online
at http://msdn.microsoft.com/library/default.asp
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
|