A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Sockets and Internet Protocols
On which port i should recieve a UDP packet
Joined: Apr 09, 2004
Feb 15, 2005 00:28:00
i m making a project..inwhich i have to receive a UPD packet in a byte array and decode that..
So what should i listen to receive packet...
could u please help me out..
Joined: Jun 15, 2003
Feb 15, 2005 02:53:00
The recieving is not concerned with port. You can just recieve on that port that is mentioned in ur Server program . I mean server sending port and client recieving port must be same.
I agree. Here's the link:
subject: On which port i should recieve a UDP packet
Threading and collections problem.Pl help
Can I sit on ois.readObject() and wait for more packets? More questions
DatagramPacket::getLength() does not refresh
UDP broadcast on multiple interfaces
Threads and Sockets
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014