Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Simply chat program....

Author
Message
Darkflame
21
Years of Service
User Offline
Joined: 4th Jul 2003
Location:
Posted: 13th Sep 2003 21:59
I tried making a basic 1to2 IP chat program:




Im probably doing it all wrong, any advice?

"The man who says it cannot be done is generally interrupted by someone doing it." ~ Elbert Hubbard
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 14th Sep 2003 15:43
Try putting a GET NET MESSAGE immediately after the 'do'.

Also, don't forget that the INPUT command effectively freezes your program, so any new messages will not show on your receiving machine unless you hit the enter key.
JoelJ
21
Years of Service
User Offline
Joined: 8th Sep 2003
Location: UTAH
Posted: 15th Sep 2003 06:38
so what do you do instead of input? anything?

<{^_^<}
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 15th Sep 2003 10:32
You write your own using ENTRY$ or INKEY$.
Darkflame
21
Years of Service
User Offline
Joined: 4th Jul 2003
Location:
Posted: 15th Sep 2003 14:00
Yes, I knew about the input problem, I was just trying to establish a link first
Thanks, ill try putting that in.
--
btw, anyone know why when I compile the example net program.
(the one with the smily face), the program trys to open infinte copys of itself?
I havnt change the code at all, I just run it, and every time it asks me for a IP it loads a new program

"The man who says it cannot be done is generally interrupted by someone doing it." ~ Elbert Hubbard
Darkflame
21
Years of Service
User Offline
Joined: 4th Jul 2003
Location:
Posted: 16th Sep 2003 23:15
still dosnt work, this is my current code:



any ideas?

"The man who says it cannot be done is generally interrupted by someone doing it." ~ Elbert Hubbard
Darkflame
21
Years of Service
User Offline
Joined: 4th Jul 2003
Location:
Posted: 18th Sep 2003 14:11
Do I get flamed if I say "bump" here?



I have no expirence with IP code, and cant get it to work on my own.
Having a modem connection, Its also tricky to keep sending code to a friend to test it.
(gets boring after the 4th re-compile)

"The man who says it cannot be done is generally interrupted by someone doing it." ~ Elbert Hubbard
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 18th Sep 2003 15:27
I'll post you a very basic chat program here this evening when I get back from work
Darkflame
21
Years of Service
User Offline
Joined: 4th Jul 2003
Location:
Posted: 18th Sep 2003 19:36
Thanks.
The basic-a the better :p

Once I know how to transmite a string, I can work on everything else myself

"The man who says it cannot be done is generally interrupted by someone doing it." ~ Elbert Hubbard
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 19th Sep 2003 00:32
Darkflame
21
Years of Service
User Offline
Joined: 4th Jul 2003
Location:
Posted: 19th Sep 2003 14:02
thanks, ill check it out.

"The man who says it cannot be done is generally interrupted by someone doing it." ~ Elbert Hubbard

Login to post a reply

Server time is: 2024-09-21 01:08:38
Your offset time is: 2024-09-21 01:08:38