Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Android Security Essentials Live Lessons
this week in the
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
Can I sit on ois.readObject() and wait for more packets? More questions
UDP broadcast on multiple interfaces
DatagramPacket::getLength() does not refresh
Threads and Sockets
Threading and collections problem.Pl help
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014