Results 1 to 5 of 5

Thread: Winsock Questions <Resolved>

  1. #1

    Thread Starter
    Addicted Member Osiris's Avatar
    Join Date
    Oct 2000
    Location
    Dimension Hole
    Posts
    142

    Winsock Questions <Resolved>

    Hi, sorry to bother you guys with such questions, but I'm trying to research for a project that I have to do in one of my classes, and I would like to do it in VB, else I'd have to do it with JSP... so I have some questions.. (please don't laugh if they are silly , for I am new at the whole networking concept)

    Let's say I want to create a client/server using winsock...

    1. Is there a way I could find hosting for my server application so that it can be accessed anytime? If so, what could support it?

    2. Is there a way to make the server accept more than 1 client request at a time or is a winsock array the solution?

    3. What is the relevance between winsock programming and RPC programming, and how can they be used together?
    Last edited by Osiris; Feb 26th, 2005 at 06:54 PM.
    ؊Ϯϊ

  2. #2
    PowerPoster
    Join Date
    Dec 2003
    Posts
    4,787

    Re: Winsock Questions

    Quote Originally Posted by Osiris
    1. Is there a way I could find hosting for my server application so that it can be accessed anytime? If so, what could support it?
    Yes but it is very expensive, you can just run it from your own PC though. use somthing like No-Ip www.no-ip.com to get a 'static' ip.

    2. Is there a way to make the server accept more than 1 client request at a time or is a winsock array the solution?
    Array is the only way
    http://winsockvb.com/article.php?article_id=19

    3. What is the relevance between winsock programming and RPC programming, and how can they be used together?
    rpc?

    Dont worry about asking 'silly questions' and these arnt silly ones

    Hope that helps

  3. #3
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: Winsock Questions

    RPC (Remote Procedure Call) allows a program to invoke methods (procedures) on a remote machine.

    This differs from the normal client /server programming using say the Winsock API, because it is transparent at the application coding level, meaning the programmer need not bother with opening and closing ports and sending and reciving data.

    One of the applications of RPC, SOAP(Simple Object Access Protocol) allows you to instantiate and work with objects (which can reside on a remote machine), directly from your code. The SOAP protocol, does all the work (establishing the connection, sending and receiving data) and is transparent to the programmer.
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

  4. #4

    Thread Starter
    Addicted Member Osiris's Avatar
    Join Date
    Oct 2000
    Location
    Dimension Hole
    Posts
    142

    Re: Winsock Questions

    Thanks Pino and visualAd, www.no-ip.com was a big help....
    ؊Ϯϊ

  5. #5
    PowerPoster
    Join Date
    Dec 2003
    Posts
    4,787

    Re: Winsock Questions

    Quote Originally Posted by Osiris
    Thanks Pino and visualAd, www.no-ip.com was a big help....
    No problem,

    The reason it is so expensive to get .exe hosting is because its somone elses server and it can cost around 500 a month. :-/ no-ip is great it just uses the domain name to redirect to your ip. Make sure you download the DUC (Dynamic update client) and keep the address updated with your ip.

    If this has been resolved could you add 'resolved' to your title

    Glad you solved it

    Pino

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