|
SourceForge Jpcap | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface IP.UDP
UDP (User Datagram Protocol) API interface. This is read-only. You probably can use Jpcap to send UDP packets, but what exactly is the point, when you have a nice TCP API already?
Method Summary | |
---|---|
int |
getDestinationPort()
Fetches the destination port number. |
int |
getSourcePort()
Fetch the source port number. |
int |
getUDPChecksum()
Fetch the UDP checksum. |
byte[] |
getUDPData()
Fetch the UDP data as a byte array. |
byte[] |
getUDPHeader()
Fetch the UDP header as a byte array. |
boolean |
isValidUDPChecksum()
Return true iff the UDP checksum is valid. |
Method Detail |
---|
int getSourcePort()
int getDestinationPort()
int getUDPChecksum()
byte[] getUDPHeader()
byte[] getUDPData()
boolean isValidUDPChecksum()
|
Copyright © Patrick Charles & Jonas Lehmann, 2001; Esmond Pitt, 2008. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |