natPlainDatagramSocketImpl.cc (peek): Removed unnecesary comment.
* java/net/natPlainDatagramSocketImpl.cc (peek): Removed unnecesary comment. (receive): Set the sender's address in the DatagramPacket. From-SVN: r31218
This commit is contained in:
parent
e46fbd72b8
commit
730ecdd3c3
@ -1,3 +1,9 @@
|
||||
2000-01-04 Warren Levy <warrenl@cygnus.com>
|
||||
|
||||
* java/net/natPlainDatagramSocketImpl.cc (peek): Removed unnecesary
|
||||
comment.
|
||||
(receive): Set the sender's address in the DatagramPacket.
|
||||
|
||||
2000-01-04 Tom Tromey <tromey@cygnus.com>
|
||||
|
||||
* java/lang/reflect/natConstructor.cc (newInstance): Pass
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1999 Cygnus Solutions
|
||||
/* Copyright (C) 1999, 2000 Cygnus Solutions
|
||||
|
||||
This file is part of libgcj.
|
||||
|
||||
@ -242,7 +242,6 @@ java::net::PlainDatagramSocketImpl::peek (java::net::InetAddress *i)
|
||||
#endif
|
||||
else
|
||||
goto error;
|
||||
// FIXME: Multicast: s->address = new InetAddress (raddr, NULL);
|
||||
i->address = raddr;
|
||||
return rport;
|
||||
error:
|
||||
@ -335,7 +334,7 @@ java::net::PlainDatagramSocketImpl::receive (java::net::DatagramPacket *p)
|
||||
#endif
|
||||
else
|
||||
goto error;
|
||||
// FIXME: Multicast: s->address = new InetAddress (raddr, NULL);
|
||||
p->setAddress (new InetAddress (raddr, NULL));
|
||||
p->setPort (rport);
|
||||
p->setLength ((jint) retlen);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user