chat and online...

chat and online...

Post by j.cappiell » Thu, 11 Jan 2001 00:03:20

Hello, i want to make a chat in language C, using sockets under debian
potato 2.2.17...
I've already begun, but I don't know how to do to know when an users is
online or not...
I think there is no need to show my client and my server unless you ask
My client is like : socket()->connect()->write()...
My server is like : socket()->bind()->accept()->read()...
I also made a config file where is written login and passwd that user
has chosen...

1. PPP/CHAT: chat won't chat with modem, why?

I've been trying to get a dynamic IP connection to work via ppp, and I
think I've narrowed the problem down to the chat program.  chat
doesn't seem to be getting any responses from the modem.  I've been
trying to figure out what's going on by running chat from the command
line (can this work?), but no luck.  For example,

gives the following error messages:

Mar  9 11:43:49 rezkbox chat[1285]: timeout set to 3 seconds
Mar  9 11:43:49 rezkbox chat[1285]: send (^MAT^M^M)
Mar  9 11:43:49 rezkbox chat[1285]: expect (OK)
Mar  9 11:43:52 rezkbox chat[1285]: alarm
Mar  9 11:43:52 rezkbox chat[1285]: send (+++)
Mar  9 11:43:52 rezkbox chat[1285]: expect (OK)
Mar  9 11:43:55 rezkbox chat[1285]: alarm
Mar  9 11:43:55 rezkbox chat[1285]: Failed

I really don't know what's going on.  I'm also a bit confused about
the chat program; it's supposed to communicate with the modem, but how
does it even know which serial port the modem is on?

Any ideas?

-- Charles Rezk

2. Turtle Beach Fiji?

3. How can I chat with my friend online?

4. Changing default settings on ACL???

5. Linux Chat-Online Linux Support

6. fujitsu m2266a feedback?

7. Fix: DEVFS compile failuer [2.5.30]

8. Eazel founder in live online chat Wednesday

9. New Online WWW Chat site for Linux users

10. Matrox Mystique ands X.

11. MSDN Online Chat March 10