阅读背景:

在Linux上使用Java 6如何确保使用ipv4套接字?

来源:互联网 

I'm trying to write a quick little java application to read the contents of a pcap file (from Wireshark) and play the data back on the network on a linux box. The file will only contain UDP broadcast packets, so my application only really needs the timestamp, port number, and data from the packet to do what I need. My problem is that the application that I'm trying to test with this code is listening for IPv4 UDP broadcasts on Windows. My test application keeps opening an IPv6 socket to send the data out.I'm trying to write a quick little java applica




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: