File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Sockets and Internet Protocols and the fly likes On which port i should recieve a UDP packet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "On which port i should recieve a UDP packet" Watch "On which port i should recieve a UDP packet" New topic
Author

On which port i should recieve a UDP packet

dheeraj chhabra
Greenhorn

Joined: Apr 09, 2004
Posts: 23
Hi.all..
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..
dheeraj chhabra
kashif hameed
Greenhorn

Joined: Jun 15, 2003
Posts: 15
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.
Kashif Hameed
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: On which port i should recieve a UDP packet