This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

On which port i should recieve a UDP packet

 
dheeraj chhabra
Greenhorn
Posts: 23
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic