|
-
Jun 22nd, 2001, 12:59 PM
#1
Thread Starter
Junior Member
I bet someone is gonna say "Look at the tutorial at this site", but it seems this doen't work for most of us (me included). I haven't een able to find a good one too, so if anyone knows some, please post them. Also, msdn is very helpfull. Goodluck
NeoMotion
-
Jun 22nd, 2001, 02:09 PM
#2
Frenzied Member
I have tried to put together a good example of a simple client/server app. Single connection, passes a UDT back & forth. There are lots of comments. The 2 forms are positioned side by side with informational displays in both labels and the form captions so you can see what is going on in real time.
Download the file CS.ZIP from the following post: http://forums.vb-world.net/showthrea...threadid=71122
Let me know if it helps AND please let me know if there is anything I can do to make it better. I've been writing sockets apps for a number of years and I may not have sufficiently explained something that seems simple to me.
BTW, anyone out there know if there is a way to reference an upload without having to point to the original post?
-
Jun 22nd, 2001, 06:47 PM
#3
Thread Starter
Junior Member
Thanx for the tutorial. Although it is helping me understand winsock alot better, it is not completely what i am looking for.
I want to have this approach: i want a database to act as the server. I would like to have all the accounts in the db (about 150 records). Everybody has the clientapp. When they go online, they connect to the db. When they connect, they set a switch to online. They can also select away, invisible and dnd. When someone else goes online, the app checks the db for the other accounts and their status. It checks every 15/20 seconds for status (how long will it take to cycle through 150 records?)
I am not sure if this aproach is sensible, i don't even know if it is possible. But i would like to have it this way, because i need the serverside on an webhost, an no way they would let me run an .exe That's why i do not want to have the client.exe/server.exe setup. Anyone have any suggestions on how to program this, so it can be on a webhost? (doesn't have to be a db, aslong as i can put the "serverside" on a webhost). Thanx in advance.
**Think my best luck is when i start a new thread**
Last edited by Neomotion; Jun 23rd, 2001 at 03:35 AM.
NeoMotion
VB 6.0
Almost MCP ;-)
Allround nice guy
-
Jun 25th, 2001, 03:02 AM
#4
Junior Member
Reply for Bruce..
Bruce,
If you get to this mail could you please check my reply in your other message which is linked to in this thread...thanks.
"Three minutes thought would suffice to find this out; but thought is irksome and three minutes is a long time."
"The supreme irony of life is that hardly anyone gets out of it alive."
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
|