Java Socket Programming

  • i need a construct a firewall in linux accessing iptables...
  • Sat, 05 Feb 2011 23:07:00 GMT
  • I am doing a project on firewall, i am using linux platform so i am going to use linux iptables.So is there someway i can add rules in iptables. i mean how to access those iptables....
  • urgent:run c++ exe from java
  • Thu, 29 Jul 2010 17:19:00 GMT
  • Hi, I am trying to call c++ exe from java applet.For this purpose am using processbuilder.My code is as follows             public void actionPerformed(ActionEvent e) {                 ...
  • Urgent run c++ exe from java.
  • Thu, 29 Jul 2010 17:24:00 GMT
  • Hi , I am trying to call c++ exe from java applet.For this purpose am using processbuilder.My code is as follows code:   try {                   String s = "C:\\Users\\madsaan\\Documents\\NetBeansProjects\\CppApp...
  • i had two nic cards for my system...i need to write java program to transfer packets from one nic to
  • Mon, 16 Aug 2010 18:39:00 GMT
  • other.... simply my sys should act like proxy server...can any one plz provide me that code....i was new to networking ...
  • hi... I need to transfer packets from one nic to other(my sys had two nic).
  • Mon, 16 Aug 2010 18:49:00 GMT
  • i need java program to configure..simply i need proxy server program to transfer packets one nic to other nic... i'm new to networking... could anybody plz help me... ...
  • can i use rmi method to program proxy server...If so.. plz give me the programme....and also i need
  • Mon, 16 Aug 2010 18:57:00 GMT
  • java programme to transfer packets from one nic card to other nic card of same system...simply proxy server program(i think)...and i had doubt that which card acts as local address and which acts as host address.....i'm new to networking....plz help. ...
  • Play video from Byte Array
  • Sun, 05 Sep 2010 04:19:00 GMT
  • Hi I successfully wrote a program in which a client sends a video file to the client as a byte array. The client retrieves the byte array and saves the file to disk. Here is the client portion: import java.io.*; import java.net.*; public class Client {     public static void...
  • how to send & receive byte array?
  • Sun, 19 Sep 2010 08:27:00 GMT
  • hi all, how to send byte array and receive it? I do it in some way but I just receive first byte or I received 0. please help me! Regards, ...
  • Does Java SSL support reading / writing on the same SSL session parallely from different threads?
  • Mon, 04 Oct 2010 00:46:00 GMT
  • Hi All, As far as I know, we can do one read & one write parallely on the same socket in Java. My question is does Java SSL Socket which is an extension of the normal socket also support the same? In case of a normal SSL, I can just get the OutputStream and InputStream associated with sock...
  • java using socketd
  • Wed, 01 Dec 2010 18:37:00 GMT
  • to implement a simple client-server application where the server provides a telephone directory. The client must connect to the server using a TCP socket. The exchange of messages between client and server must be handled with the socket interface. The basic functionality of the applicati...
  • Zooming on a Panel?
  • Sat, 22 Sep 2007 06:12:00 GMT
  • Hello!I have a litle problem with my zooming method. The thing is that it i can only zoom objects from the BufferedImage class which are images. What i have is a Panel i drew on and i do not know how to implement this. Since the Panel is not an Image a nullpointer exception comes as soon as he ...
  • Zooming in into images
  • Sat, 22 Sep 2007 16:58:00 GMT
  • Hi ! i have a JPanel that i load an image into . how do i add the zoom in capabillity to it ?another thing , if i load the jpanel inside a JScrollBar , and i load the image as it is , if the image is bigger then the jpanel , will the user be able to cruse inside it with the scroll bars ? ...
  • Hi everybody,I need to create a JPanel with some f...
  • Sat, 22 Sep 2007 12:34:00 GMT
  • Hi everybody,I need to create a JPanel with some figure on it drawn using the graphics context, and when one clicks on a particular part on that figure, or select a rectangle on it using mouse, that small part should be zoomed and displayed in another panel.Can u please suggest me the best way ...
  • zoomin/out
  • Sat, 22 Sep 2007 03:55:00 GMT
  • i am getting problem in zooming in and out of the image as i dont know the concept behind thismy image is of BIL format and i am not getting what to do nextif any one knows about this then reply as i am in very need PLEASE ...
  • Zoom In/Out Funda
  • Sat, 22 Sep 2007 16:59:00 GMT
  • Hi Everybody ! I am just new this forum. I am working on a project which creates some drawing on the JPanel using Polygon class and now what I need is to zoom In and Zoom Out that Image. I have made that concept of zoom In and Zoom Out by Scaling Concept. It works but it also actutally creating ...
  • Zoom Image
  • Sat, 22 Sep 2007 18:24:00 GMT
  • Hello!,I need to zoom a specific part of my image ( rectangle of 30x30 pixels from the right top of my image for example)How can I do it ?Thanks!...
  • I've seen lots of posts in the forums about zoomin...
  • Sat, 22 Sep 2007 08:04:00 GMT
  • I've seen lots of posts in the forums about zooming in/out on a JPanel that displays an image. What about zoom on any generic JComponent? For instance, zooming in/out of a JPanel that contains two JButtons and a JTable? Or any other collections of Swing components? Has anyone ever done this ...
  • Zip file through SSH
  • Wed, 16 Jul 2008 21:22:00 GMT
  • Dear All,I am trying to solve the following problem.I am developing a Java application on a Windows machine; the data for this application resides in an Unix server (which I can usually browse using a SSH connection in a putty console).Now, my problem is: I would to access the data in this serve...
  • Zero Distance Drag/Drop from JTable
  • Sat, 22 Sep 2007 17:42:00 GMT
  • Hi,I have a JTable that allows the user to drag rows to other locationations on its application. With unpredictable regularity it hits a state where clicking on a row of the table iniates a complete drag and drop. If I look at the DragGestureEvent's mouse events, the last point is the same as ...
  • your advices
  • Mon, 24 Sep 2007 10:51:00 GMT
  • Hi,now I am developing a project that transfers voice , video and also shares desktop over network or Internet.I use JAVA.plz,I want your advices about the best techniques to transfer voice ,video in JAVA.And I want a method to share desktop . ...
  • yet another chat program
  • Mon, 24 Sep 2007 02:39:00 GMT
  • hello all. now i've read through alot of articles in the forum on this topic and i still can't figure it out. i have a multiple client server program and i can only send to all clients once they have sent something to the server first. any help is appreciated.the code is ...
  • yes, its another chat server/client program
  • Sat, 22 Sep 2007 02:20:00 GMT
  • Im busy writing a chat program and am having a problem figuring out how to show the users that are online. The ChatServer class contains methods for recieving messages, broadcasting messages, accepting new connections etc.Im using non-blocking mode and I register all the connections with a ...
  • YES & NO buttons
  • Sat, 22 Sep 2007 17:49:00 GMT
  • HOw do you implement a yes and no button and what it does if you press yes and no?...
  • Yellow Hint ... ?
  • Sat, 22 Sep 2007 03:45:00 GMT
  • Hello,I want to show a classic yellow hint when the user move the mouse over an object (i.e. a to long JLabel).Is there a JAVA-class or do I have to programm it all on my own?Thanks. ...
  • yahoo messenger protocol needed
  • Wed, 16 Jul 2008 21:22:00 GMT
  • I need to get information about the Yahooo Messenger Protocol for chatting , I am particularly interested in the web cam broadcasting and receiving protcol. The reason that I post this query over here since I am planning to write a j2me applicaiton that will let me view my friends web cam on my...
  • yahoo email programm
  • Wed, 16 Jul 2008 21:29:00 GMT
  • My friend asked me if I can write a program that will log in to his yahoo email account and download his messages directly to a file on his hard drive. Does anyone know how I could go abouts doing this? I'm a SCJP, so feel free to use the high tech lingo. Thanks for reading my post....
  • Yahoo chat client, any ideas.......
  • Wed, 16 Jul 2008 21:22:00 GMT
  • Hai,I want to make a yahoo chat client. i have the packet structure and the details for the chat. But i have to get a cookie from the chat server via http but some how i am not able to get that. this is the code i used to connect to the http chat serverimport java.net.*;public class MyHttp{ Http...
  • y2k problem
  • Wed, 14 Nov 2007 12:22:00 GMT
  • hi. here is my program for y2k detector import java.util.Scanner;class yDetector{public static void main(String args[]) {Scanner myScanner = new Scanner (System.in);int age;int year;int total;System.out.println("Enter your age ");age = myScanner.nextInt();System.out.println("Enter the year ...
  • x-y get so close to each other
  • Sat, 22 Sep 2007 17:02:00 GMT
  • hi,this is not really a technical Q, it is more of an algorithm.i have many x-y points to read from a file, they so close to each other; fortunatly i need to draw a symbolic skitch for the points spacing isn't important, what's important is that each point is large enough to be clickable. i ...
  • xsl redirect:write reference location
  • Wed, 14 Nov 2007 12:12:00 GMT
  • Can someone point me to the reference sites for XSL element "redirect:write"Who defines these standards?e.g. for XSLT we have - http://www.w3schools.com/xsl/xsl_w3celementref.aspAppreciate the help....
  • Java Technology Blogs
  • "Java Socket Programming" Related Questions
  • SocketException
  • In on my web application I am getting the following Exception .On our production system it happens once in a while and causing the system go down.What could be the problem , please advice.I do access the files in the program , and actually i use transformer object to transform a XML file by appl...
  • can you help me !
  • ####today when i exec my socket server , the jvm crashed . here is jvm message .Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x6D376FCCFunction=[Unknown.]Library=C:\j2sdk1.4.1_02\jre\bin\client\jvm.dllNOTE: We are unable to locate the function name symbol for the errorjust ...
  • Performance of IE7?
  • I have an applet that displays a map in a graphics panel. This applet runs fine under IE6, but with IE7 I seem to run into performance problems. Whenever a dialog box is dragged over the graphics, the shadow of the dialog remains behind, and it takes a long time before all the display is up to ...
  • Cannot connect to URL over VPN. Help!
  • hi allI'm trying to connect to URL resource over VPN (Windows XP). The browser on the same computer connects perfectly, but when I do it from java, I got IOException:Read timed out. What I'm doing wrong? I supposed that if my computer is connected to several networks, then I must use local IP ...
  • Calling JPanel add() method from static context
  • HiI have a custom component that I have created that I need to be added to my main Panel (inherited from JPanel) after a certain keypess. The problem I have is that I need to call the JPanel.add() method from within the component's constructor, and the only way I can see that I might be able ...
  • How can I determine which access point a mobile client is using
  • Hello,My problem is:How can I determine which access point a mobile client is using from a server-side application?My setup is:Several access pointsOne web serverSeveral mobile clients(All on the same subnet)When a mobile client connects to a specific page on my web server, I want to find out wh...
  • JTree cell renderer: how to fill whole row?
  • hi, i'm trying to make a tree cell renderer that renders at default height, but fills the horizontal width of the tree (e.g. with a JLabel with a custom background color). I'm working on the theory that in order to do this you need to change the preferred size of the component used to stamp ...
  • Problems with Displaytag after update from 1.0 to 1.1
  • Hello,I want use the Display Version 1.1 because I can use the attribute format to display the Date in a german Format. In Version 1.0 it doesn磘 work. It only works with Strings. But I can磘 sort Strings of Date磗 correctly.Now when I am using the Displaytag in Version 1.1, at first without ...
  • getRootPane().setDefaultButton doesn't work.
  • If I call getRootPane().setDefaultButton on a JDailog with a button or pass null it has no effect. The first created button remains the defailt.I'm using JGoodies forms to create the layout, could this be causing it?Thanks, ...
  • sockets & secure sockets
  • can any one of u tell me the diff between the sockets and the securesocketsi mean dat for https we need to use java jsse packages or so. wat is the need and differenece...