Re: Getting the IP address of a UDP client

2003-01-03 Thread Lee Chin
Hi Mark, I am not using recvfrom... I simply use recv In other words, I create the server UDP socket, listen on a port then enter into a while loop just doing a recv. Now the thing is, many different clients are sending packets to the server, and I need to reply to each of them at a later time, s

Re: Getting the IP address of a UDP client

2003-01-03 Thread Lee Chin
Hi, This is a UDP server ... so I do not use accept, I simply have a server loop that does a "recv" ... So the server does a recvfrom and then a sendto on the same file descriptor... When I try to do an accept, that system call fails because it is not a TCP socket... Thanks Lee --- Elias Athana

Re: Getting the IP address of a UDP client

2003-01-03 Thread Elias Athanasopoulos
On Fri, Jan 03, 2003 at 11:03:20AM -0800, Lee Chin wrote: > I can use getpeername to get the IP address of a > client on a connected TCP socket, but when I have a > UDP client that just sent me a packet, how do I get > the IP address of that UDP client? Forgive me if I have misunderstood you, but

Getting the IP address of a UDP client

2003-01-03 Thread Lee Chin
Hi I can use getpeername to get the IP address of a client on a connected TCP socket, but when I have a UDP client that just sent me a packet, how do I get the IP address of that UDP client? Thanks Lee -- __ Sign-up for your own FREE Perso

Getting the IP address of a UDP client

2003-01-03 Thread Lee Chin
Hi I can use getpeername to get the IP address of a client on a connected TCP socket, but when I have a UDP client that just sent me a packet, how do I get the IP address of that UDP client? Thanks Lee __ Do you Yahoo!? Yahoo! Mail Plus - Powerful.

Re: Networking issue

2003-01-03 Thread glenn
On Fri, 03 Jan 2003 5:24 pm, Ray Olszewski wrote: > Ok, mystery solved. At least for the pings. Your system is set for some > reason not to reply to pings (is this a Mandrake default? does anyone here > Mandrake runs a batch of scripts under the name of msec which maintins a particular security l

Re: how to remove Grub

2003-01-03 Thread Tabris
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thursday 02 January 2003 02:38 pm, glenn wrote: > On Fri, 03 Jan 2003 1:18 am, Chris wrote: > > Does anyone know how to remove/uninstall the Grub loader from Red > > Hat 8.0? > > > > I've been dual booting my PC between WinXP and RH8, but have now >

Re: Networking issue

2003-01-03 Thread Ray Olszewski
At 09:01 PM 1/3/03 +0930, Adam Luchjenbroers wrote: On Friday 03 Jan 2003 4:39 pm, Ray Olszewski wrote: Got everything pretty much fixed, except for one thing. Something perioically seems to re-add a line to hosts.deny that forbids connections from everything but localhost. /proc/sys/net/ipv4/ic

xsession

2003-01-03 Thread Kurt Sys
Hello, I have a Debian X session question. I run kdm as display manager and blackbox as window manager. When I startup blackbox, I would like to execute a small script for the slit in blackbox (just putting some applications in the slit). I just don't manage to execute that script. I copied th

Re: rpm description

2003-01-03 Thread Frank Roberts - SOTL
On Thursday 02 January 2003 22:23, Peter wrote: > [EMAIL PROTECTED] said: > > for a package already installed: rpm -qi > > for a package not yet installed: rpm -qip > > Using mc has the advantage of not making typing errors on those long names. That is what I thought the great advantage of typin

Re: Networking issue

2003-01-03 Thread Adam Luchjenbroers
On Friday 03 Jan 2003 4:39 pm, Ray Olszewski wrote: Got everything pretty much fixed, except for one thing. Something perioically seems to re-add a line to hosts.deny that forbids connections from everything but localhost. /proc/sys/net/ipv4/icmp_echo_ignore_all also gets reset to 1 (but this

Re: Special characters

2003-01-03 Thread cr
On Thursday 02 January 2003 10:17, [EMAIL PROTECTED] wrote: > On Wed, 1 Jan 2003, cr wrote: > > This is probably an elementary query, but I can't find the answer in any > > help files! > > > > How does one produce a special (i.e. non-keyboard) ASCII character in a > > Linux or X application (like t