1. Server Contact via Internet

Howdy, y'all.

I'm going to start distributing some files via the internet and want to be
able to protect the licensing... as in, preventing people from taking the
file(s) I send them via email and passing it on to everybody else. Well, you
can't prevent duplication and distribution, but you can prevent operation!

Here's my plan: Set up a server so that the installation requires contact
with this server. IOW, the install program would contact this server with 1)
information about the person installing the files, 2) the serial number of
the installer program being used (each installer program can be uniquely
identified), 3) whatever else I need to get, and then return a "yay" or
"nay" in regards to continuing the install.

Anybody have any idea how I might go about doing this? I'm using DOS32 code-
is it still possible to access the internet (a particular IP address) using
EUPHORIA's DOS32 code?

What's yer ideas, guys?

Thanks,
ck

P.S. I could go solely Windows for the installer if I have to. I use DOS
because some of my users still use Win3.1... although that's less and less
each day and probably accounts for less than 10% of users now... hmmm...

P.P.S. I think this relates to David's requests for easy internet access
from EUPHORIA, eh? smile

new topic     » topic index » view message » categorize

2. Re: Server Contact via Internet

Hello there,

if i understand your problem correctly, you want client software to be able to
contact your server(running its own software/daemon) and transfer a bunch of
data, right?

well if that is the case, then you have a few options, you can go Win32 and use
Winsock wrappers to do all the internet socket work for you. Or you can use a C
function wrapper library that lets you use the raw C functions.

Socket functions allow you to connect two machines for a data exchange over an
IP network(such as the internet).

I started workin on a linux version of a socket wrapper but then moved on to
other things for a while. If you wish you could look at my code to build your own
wrapper but i think someone else has already written a winsock wrapper for
euphoria


CenSe,
a member of the
ak-software
development team

http://ak-software.virtualave.net/

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu