-
whaa socket programming!
all this socket programming stuff seems a 'little' weird to me.
all these structures.... how is someone ever going to remember?
im confused. :confused:
i now got a first look at programming sockets in C.
could anyone come up with suggestions what i should try to program?
(something really really easy please)
would be cool. :cool:
cya
EDIT: im programming in an unix environment.
-
Server that outputs teh ascii table forever and ever (until client disconnects)
aka, chargen
Look at any of the simplistic UNIX daemons like time, chargen, etc.
-
Write a MUD from scratch. That'll keep you busy for a while.
Quzah.
-
thanks for your suggestions but i dont even know how to
use the bind(), connect(), etc... functions.
do i have to simply learn them by rote?
well i dont know how to master the structures and the many headers. well anyway thanks!
:cool:
-
salem: i read the first of the links you posted.
but i dont seem to get smarter of that.
its late now, ill have a try tomorrow again. :D
gn8
-
If you cannot understand then maybe you should wait until you have learned more.
-
Yes maybe u should wait or start out SLOW. I would recommend typing in many examples of other socket programs created by other people. When you feel comfortable you can start writing for instance a chat program to be used over a LAN or a program that would sit on a port and just wait for another computer to connect to it. Just start out slow and move up.