[4610] in java-interest

home help back first fref pref prev next nref lref last post

datagramSocket.receive()...

daemon@ATHENA.MIT.EDU (luigi mastroserio)
Tue Jan 9 12:43:17 1996

Date: Tue, 9 Jan 1996 16:01:59 +0000 (GMT)
From: luigi mastroserio <mas1lui1@fort.midkent.ac.uk>
To: java-interest@java.sun.com

 Hi everyone!
      
        If this problem was already fixed I beg pardon for bothering but
	I've got troubles with the datagramSocket.receive()...
        I always catch IOException... could it be in the way I declare it?

         ...
         s=new datagramSocket(6000);
         ...
         byte ibuf[]=null;
         DatagramPacket p=new DatagramPacket(ibuf,5);
          ...
          ...
         try{
           s.receive(p)
        }catch{ bla bla}


Thank you in advance.
Have a nice day.        
Luigi
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post