Re: Linux UDP programming...

Glynn Clements (glynn@sensei.co.uk)
Thu, 29 Jul 1999 11:11:41 +0200 (GMT--1:00)


Menion wrote:

> How's it going? I am looking to write a semi-graphical client/server
> scenario to make a game with, and I would like to use UDP packets for
> the clients. Being a little new to all of this, can somone please
> advice me on how this works? Are sockets my only means of network
> traffic?

Yes.

> [That may seem like an odd question, but I was instrected that
> I could use 'sendto' directly to address multiple parties, etc, for the
> same packet. That sounds like multicasting, but I only have real
> exposure to app-net interfaces through sockets.].

The first argument to sendto() needs to be a socket.

-- 
Glynn Clements <glynn@sensei.co.uk>

- To unsubscribe from this list: send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.rutgers.edu