Results 1 to 4 of 4

Thread: how do you use winsock to send command to a server

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2000
    Posts
    10
    how can i use winsocuk to send a command to a ip.
    Blah

  2. #2
    Fanatic Member Dim's Avatar
    Join Date
    Jul 2000
    Posts
    620
    Depends what kind of command...and if you are planing on using winsock then the pc that you are trying to communicate with will have to be running some kind of server.

    Gl,
    D!m
    Dim

  3. #3

    Thread Starter
    New Member
    Join Date
    Jul 2000
    Posts
    10

    blah

    it will be a a irc. server and the comand will be mirc commands. i just want to make it send a cmmand to the server telling it to do blah blah with out conecting just send the command.
    Blah

  4. #4
    Fanatic Member Dim's Avatar
    Join Date
    Jul 2000
    Posts
    620
    I used this to send commands to mIRC. Maybe it will help you in some way.
    Code:
    Private Sub Command1_Click()
        Text1.LinkTopic = "mIRC|COMMAND"
        Text1.LinkMode = vbLinkNone
        Text1.LinkItem = Text1.Text
        Text1.LinkMode = vbLinkManual
        Text1.LinkPoke
        Text1.Text = ""
    End Sub
    If that doesn't do anything for you then i would suggest sending keys to the server.


    Gl,
    D!m
    Dim

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