04-18-2005, 11:19 AM
welp, i'm thinking about a messanger program, cause i wann learn how networking worx.. i know absolutely nothing about it. . .period, not a thing (coding wise anyhoo)
here's a copy paste of my plan file :bounce:
-------------------------------/how it should work
it should work by communicating directly with other
poeple connected... so it would kinda be like a
messanger program, where you log in and everybody
is in 1 big room. . . i dont have many friends, so it
shouldnt get that crowded, 1 room will be ok
the basic idea is
the software sends a signal out to a central server
(my server) and says who logged on... if bill types
a message, then that message is sent to my server, and
then my server sends it to jane and everyone else. . .
in theory, when the user loggs on, it sends a message
to my server, and the connecting all works on my
server, but i'm thinking there must be a way to
eliminate the serverthing and make it so it will work
w/out a server in the middle directing traffik
-----------------------------------/problems and concerns
1.how do i get the data to jane, how do i know if jane is
online? (when she logs on, program sends data to me)
2.if i can send data straight to jane, why have a central
server, why not let it be a direct thing, where user
logs on,and can see everybody on, and talk directly
instead of through a server
3.what does the data consist of. . .strings stored in vars?
4.what commands do i need to learn and where can i get
a list of them?
5.has somebody done this before? where's there src?
(additional notes)
i'm just now recalling a networking section in my a+
cert study, it mentiones a star network.. and the
illustration looks like a central computer (server)
with sevral lines coming out of it... and those
lines are connected to the other computers... so
my server idea, would be like a star network.. but
instead of having the computers in the room, they
would be all over the place.... hmm, so maybe
my dream of getting it to work w/out a server is a
dream that wont come true...
anyhoo, you can help if you wanna, i'm doing all the searching for info i have time for, but any help would be greatly appreciated
here's a copy paste of my plan file :bounce:
-------------------------------/how it should work
it should work by communicating directly with other
poeple connected... so it would kinda be like a
messanger program, where you log in and everybody
is in 1 big room. . . i dont have many friends, so it
shouldnt get that crowded, 1 room will be ok
the basic idea is
the software sends a signal out to a central server
(my server) and says who logged on... if bill types
a message, then that message is sent to my server, and
then my server sends it to jane and everyone else. . .
in theory, when the user loggs on, it sends a message
to my server, and the connecting all works on my
server, but i'm thinking there must be a way to
eliminate the serverthing and make it so it will work
w/out a server in the middle directing traffik
-----------------------------------/problems and concerns
1.how do i get the data to jane, how do i know if jane is
online? (when she logs on, program sends data to me)
2.if i can send data straight to jane, why have a central
server, why not let it be a direct thing, where user
logs on,and can see everybody on, and talk directly
instead of through a server
3.what does the data consist of. . .strings stored in vars?
4.what commands do i need to learn and where can i get
a list of them?
5.has somebody done this before? where's there src?
(additional notes)
i'm just now recalling a networking section in my a+
cert study, it mentiones a star network.. and the
illustration looks like a central computer (server)
with sevral lines coming out of it... and those
lines are connected to the other computers... so
my server idea, would be like a star network.. but
instead of having the computers in the room, they
would be all over the place.... hmm, so maybe
my dream of getting it to work w/out a server is a
dream that wont come true...
anyhoo, you can help if you wanna, i'm doing all the searching for info i have time for, but any help would be greatly appreciated