|
-
Feb 25th, 2005, 02:55 AM
#1
Thread Starter
Addicted Member
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.
؊Ϯϊ
-
Feb 25th, 2005, 03:43 PM
#2
Re: Winsock Questions
 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
-
Feb 25th, 2005, 05:45 PM
#3
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.
-
Feb 26th, 2005, 10:03 AM
#4
Thread Starter
Addicted Member
Re: Winsock Questions
Thanks Pino and visualAd, www.no-ip.com was a big help....
-
Feb 26th, 2005, 10:10 AM
#5
Re: Winsock Questions
 Originally Posted by Osiris
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|