[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 199
  • Last Modified:

Winsock or Wininit. Client/Server transfer

I have a server running a vb program, whick is constantly updating a msaccess database., and sending info back to the clients.
The Clients will be connected to the internet.

There are a large number of Clients (1000), who all day will be sending data to the server ,and receiving info via the server.

Each data parcel is only small (say between 100 and 500 characters)

I have intended to set up an ftp server, on the server machine., and use Wininit on both the server and client machines to send/receive the data.

I have never used Winsock.

??? Is Wininit the best way, or should i investigate Winsock,,./ or something else.



0
turnerrob
Asked:
turnerrob
  • 3
  • 2
1 Solution
 
Anthony PerkinsCommented:
You may also want to take a look at XMLHTTP object, which allows firewall safe transmissions.

Anthony
0
 
turnerrobAuthor Commented:
Suddenly realised that i am unable to use wininit on the clients machine, as they would have to have an ftp server running.!!

1. If i use winsock, can i have a server running winsock,accepting and sending a large number of files similtaneously.

2. Would xmlhttp (acperkins), be able to do this.

3. What is the best way ???

regards  turnerrob
0
 
Anthony PerkinsCommented:
XMLHTTP (the same as winsock) allows you to send a binary stream of data.  You would still have to save it to a file.

Anthony
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
ariellCommented:
If the users connect to your server through the internet,
why don't to use a simple ASP application?
It will solve all your problem.
0
 
turnerrobAuthor Commented:
I have looked at XMLHTTP. , seems similiar to winsock??
Have not yet discounted using it.

If i use winsock??!!
Will i have any problems when a large number of clients are logged in.
Would appreciate a comment from someone who has been in this situation.

Am trying to avoid ASP, due to the amount of work involved
in implementation and security.

regards  turnerrob
0
 
turnerrobAuthor Commented:
acperkins.
Have tried xmlhttp. It seems to work ok. And have decided to use it.
Thanks for your advice.
regards  turnerrob
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now