Hi,
I have a java programme that sends a DatagramPacket to a DatagramSocket. It
works grand on WinNT, but on Linux the send function throws an IO Exception.
The code that creates the DatagramPacket and sends the packet is:
DatagramPacket listPacket = new DatagramPacket(
listCommand.getBytes(), listCommand.length(),
destIPAddress, udpPort);
udpSocket.send(listPacket);
listPacket is created successfully is valid
udpSocket is an open udpSocket
I have tried with the Sun jdk1.2 and jdk1.3, IBM java 1.3 and the latest
version of blackdown java. All generate the same exception.
Has anybody come across this before?
Is there some option in the Linux kernel that I need to set?
Conor
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!