Results 1 to 5 of 5

Thread: Anyone with a simple CLIENT/SERVER code

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Oct 2001
    Location
    www.alexdata.com
    Posts
    484

    Exclamation Anyone with a simple CLIENT/SERVER code

    Hello...
    I would like a simple script for a SERVER/CLIENT..
    (a server and a client script)
    That works both locally (127.0.0.1) and by inputting an IP into
    a text field...
    (or by getting the IP from a webpage - by having the server and client connecting to the webpage and getting adresses)

    But atleast a simple script which works like the following:
    -a input field for IPADRESS
    -a input field for SENDING text
    -a input/output for RECIEVE text
    -and a button to SEND text with

    But please, make it basically explained, as i DON'T know
    server/client coding...

    Also, one more question: is it possible to make server/client in *.vbs file
    (with a loop or..,waiting for connection?..or so?)

    PLEASE HELP ME ON THIS ONE.....PLEASE !!!!

    ***************
    Please use [highlight=vb] ..your code.. [/highlight] when posting code!

    When you have received the working answer to your question,
    please mark it as *SOLVED* + Your Questions Title ...using your Thread's Tool menu.


    Also try to point out what answer made it work for you, or edit your first post to contain a quote of the correct answer...

    Please Answer All Questions With Working Code Examples...


    My Unfinished Projects and My working Programs
    ***************

  2. #2
    Lively Member
    Join Date
    Oct 2000
    Location
    Leicestershire; ENGLAND
    Posts
    71
    Not sure if this is what you want but here are some files which send messages between a client and a server over a network (in this instance, TCP/IP). There is also a newer server that can accept multiple connections and monitor them as it goes.
    Obviously once you have worked out what they do, you will have to modify to suit your own needs but...

    Let me know how you get o n with them.

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Oct 2001
    Location
    www.alexdata.com
    Posts
    484

    Exclamation Ehh...missing some .OCX file

    I got the message under:

    Component "mscomct2.ocx" or one of itæs dependencies not correctly registered
    a file is missing or invalid...

    after trying to run your CLIENT.exe

    Could you please ADD/SEND that file to me in the forum or somehow else....
    I'll be forever gratefull....

    -AlexData-
    ***************
    Please use [highlight=vb] ..your code.. [/highlight] when posting code!

    When you have received the working answer to your question,
    please mark it as *SOLVED* + Your Questions Title ...using your Thread's Tool menu.


    Also try to point out what answer made it work for you, or edit your first post to contain a quote of the correct answer...

    Please Answer All Questions With Working Code Examples...


    My Unfinished Projects and My working Programs
    ***************

  4. #4
    Lively Member
    Join Date
    Oct 2000
    Location
    Leicestershire; ENGLAND
    Posts
    71
    The client and server software uses the MS Speech API its too big to send. Just rip out the unecessary code - youonly needthe code that referes to the winsock.

  5. #5
    Lively Member
    Join Date
    Oct 2000
    Location
    Leicestershire; ENGLAND
    Posts
    71
    Just realised - the missing OCX is Microsoft Common Controls 2 (SP6) - simply ensure that this is added to your project (right click the toolbox and add components).
    It may then run - It always did on mine but it is old code I haven't looked at for months...

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