Results 1 to 8 of 8

Thread: Winsock send string

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Mar 2001
    Posts
    86

    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.

  2. #2
    Addicted Member
    Join Date
    Apr 2000
    Location
    England
    Posts
    246
    Which ever your code is listening on

  3. #3
    TheSarlacc
    Guest
    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.

  4. #4
    Addicted Member cyberwarpy's Avatar
    Join Date
    Jan 2001
    Location
    Melbourne, Australia
    Posts
    200

    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.

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Mar 2001
    Posts
    86
    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...

  6. #6
    Junior Member
    Join Date
    Apr 2001
    Location
    SA
    Posts
    17
    Check out the msdn/vb doc/reference/ActiveX controls/winsock

  7. #7

    Thread Starter
    Lively Member
    Join Date
    Mar 2001
    Posts
    86
    .. and what i've i don't have the msdn library?? Why do you think i asked it here?

  8. #8
    Junior Member
    Join Date
    Apr 2001
    Location
    SA
    Posts
    17
    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
  •  



Click Here to Expand Forum to Full Width