Update of /cvsroot/javanetsim/javaNetSim/core/protocolsuite/tcp_ip
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30333/core/protocolsuite/tcp_ip
Modified Files:
Udp.java
Log Message:
1 comment deleted :)
Index: Udp.java
===================================================================
RCS file: /cvsroot/javanetsim/javaNetSim/core/protocolsuite/tcp_ip/Udp.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** Udp.java 20 Nov 2005 13:49:29 -0000 1.11
--- Udp.java 20 Nov 2005 13:51:31 -0000 1.12
***************
*** 538,542 ****
UID2=((Application)application).getUID();
! if (UID1==UID2) //no UID required here :) check before update!
{
throw new TransportLayerException("UDP Error: already listening to port "+ inPort +"!");
--- 538,542 ----
UID2=((Application)application).getUID();
! if (UID1==UID2)
{
throw new TransportLayerException("UDP Error: already listening to port "+ inPort +"!");
|