Links / Books for Socket Programming

HI Guys,
Can any of you provide me some links or information on books about Socket Programming in Java. I have to deal with programming involving the client side to be in Java and the server which is in C. The topics which should be focused on are :
1. Packet formation
2. Packet parsing
Thanks
--J                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

There is a great book by a guy Elliotte Rusty Harold....I think it's called "Java Network Programming"
Yeah here is the link to his website:
http://www.elharo.com/

Similar Messages

  • Help needed with swings for socket Programming

    Im working on a Project for my MScIT on Distributed Computing...which involves socket programming(UDP)....im working on some algorithms like Token Ring, Message Passing interface, Byzantine, Clock Syncronisation...i hav almost finished working on these algorithms...but now i wanna give a good look to my programs..using swings but im very new to swings...so can anyone help me with some examples involving swings with socket programming...any reference...any help would be appreciated...please help im running out of time..
    thanking u in advance
    anDy

    hi im Anand(AnDY),
    i hav lost my AnDY account..plz reply to this topic keeping me in mind :p

  • Good book for HR programming

    Hi,
    I'm looking for a book of HR module programming. Mostly of HR books have a functional approach, but I need one more oriented to developers.
    I've seen "mySAP HR: Technical Principles and Programming" but I don't know if it's what i'm looking for?
    Any recomendation?
    thanks in advance

    Hi Javier
    I am working on SAP HR module, I am looking for a book on HR see below
    mySAP HR: Technical Principles and Programming by Ewald Brochhausen
    Could you please forward if PDF version of this book has been had by any of your friends.
    This is very very important
    Please send me PDF verstion of this book.
    [email protected]
    Best Regards
    Satya

  • Best Book for Swing Programming

    Can anyone tell me the name of a swing related book which covers all the major topic of swing programming.
    Thanks in advance

    I like Java Swing from OReilly. Big thick book, and contains nothing but Swing.

  • Best book for Iphone programming

    I was wondering if there is a good book out there with easy "step by step" for making applications for the Iphone?
    Thanks,
    Travis

    Since the iPhone/iPod Touch SDK is relatively new, I'm not sure if such a book is available. Have you tried a Google search for this?
    Seeing your operating system provided is XP, the first thing you will need is a Mac with an Intel processor that is running Apple's current OS X operating system in order to use the SDK for the iPhone.

  • Socket Programming-Not getting response from server.

    Hi,
    I am trying to communicate with server using java socket programming, I am getting the response for first two times third time when I am trying to write some thing I am not getting any response from the server,
    I am writing to migrate the vb code to Java the vb is using a c++ dll to communicate with the server and we tried accessing the dll from java using JNI then it is working fine, this dll is dependent on windows so we want to avoid the dependency with windows that is why we are going for socket programming, Please help on this.

    Hi,
    I am writing the data in forms of string
    like
    Socket sockt = new Socket(ipAddress, portNo);     
    out= new DataOutputStream(sockt.getOutputStream());
    in = new DataInputStream(sockt.getInputStream());
    out.writeBytes("Serv");
    out.writeBytes("Serv,32");
    out.writeBytes("home,serv32,run.prg,sucess");
    these are the strings to communicate with server.
    I am trying to read the same
    StringBuffer buf = new StringBuffer();
              byte b = '\0';
                        try {
                   while ((b = in.readByte()) != '\0')
                        char ch = (char) b;
                        buf.append(ch);
              } catch (Exception e) {
                   System.out.println(e.getStackTrace());
    we are getting the response for the first two strings, but for the third string it is getting stucked for some time and returing some junk values like '???' we are sending the same string using JNI and it is working.

  • OCA Certification Book  for 1Z0-147

    Can anyone suggest me book for "EXAM Program with PL/SQL 1Z0-147" OCA certification
    Thanks
    Prav

    Click Here

  • Multithread socket programming

    Hello,
    I'm new to socket programming world.
    I've to send/receive the data from a external system thru socket. Since # of data to be processed is huge, I'm thinking to have multiple threads to send/receive thru socket. It looks like socket is NOT thread safe. So I'm thinking to have separate socket connection for each thread. Each thread will create the new socket connection and close it before it dies. Creating a new socket for each thread does not seem to be good practice to me.
    Is this good design for socket programming? If not, please share your ideas.
    I'm also thinking to have socket connecting pooling to re-use the connections. Is there any lib for doing this?
    Thanks for the help

    sorry i was busy on something else till now. thanks for reply.
    Lets say that I've 100 request xml in the blocking queue. I would like to have producer/consumer model. producer will write the request from queue to channel and consumer will capture the response from channel . so sending/receiving happens simultaneously.
    If I have single channel, I''m still not quite sure how i can read/write from channel at the same time. Please clarify with some examples.
    i went thru few article and found following code to read/write. here looks like i have to write all 100 request first into channel and then be ready to read response. is my understanding correct?
    // Check what event is available and deal with it
    if (key.isConnectable()) {
    // finishConnection(key);
    } else if (key.isReadable()) {
    this.read(key);
    } else if (key.isWritable()) {
    this.write(key);
    }

  • Getting ConnectException in linux with Hello World socket program

    Hello
    i'm running a hello world application that uses sockets ( [found here|http://blog.taragana.com/index.php/archive/understanding-java-simplified-hello-world-for-socket-programming/] ) . I'm running it using a windows machine and a linux machine. When the windows machine is the server, and linux the client, no problem, the application works fine. But when the server is linux and the client is in windows i got a
    java.net.ConnectException: Connection timed out: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:352)
    in the linux machine i've checked the port being used and it seems to be listening
    logan@logan-desktop:~$ netstat --listening |grep 6500
    tcp6 0 0 [::]:6500 [::]:* LISTEN
    i've also tried changing the port and i got the same error
    and i have to say that there is no firewall installed in the linux machine and in the windows machine i disabled the firewall but i'm still getting the same error
    what else should i check? or any clue about what could be happening?
    thank you in advance
    any help would be appreciated

    puki_el_pagano wrote:
    i'm running a hello world application that uses sockets ( [found here|http://blog.taragana.com/index.php/archive/understanding-java-simplified-hello-world-for-socket-programming/] ) . I'm running it using a windows machine and a linux machine. When the windows machine is the server, and linux the client, no problem, the application works fine. But when the server is linux and the client is in windows i got a
    java.net.ConnectException: Connection timed out: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:352)
    in the linux machine i've checked the port being used and it seems to be listening
    logan@logan-desktop:~$ netstat --listening |grep 6500
    tcp6 0 0 [::]:6500 [::]:* LISTEN
    i've also tried changing the port and i got the same error
    and i have to say that there is no firewall installed in the linux machine Are you absolutely sure?
    what else should i check? On the windows box
    open a cmd window
    C:> telnet linuxbox 6500

  • Can you provide good books for SAP Scripts and Dialog programming?

    Names of the books for Scripts and dilaog programming.

    Hi,
    pls chk this.
    http://www.sap-press.de/katalog/buecher/titel/gp/titelID-667?GalileoSession=74564414A2Qf67.aL0Q
    Have also a look at
    http://www.amazon.com/gp/product/1893570142/102-2992344-7930525?v=glance&n=283155&n=507846&s=books&v=glance
    for dialog prgrming.
    pls chk these links.
    Refer to the documentation @
    http://help.sap.com/saphelp_47x200/helpdata/en/c9/5472fc787f11d194c90000e8353423/frameset.htm
    Can also have a look at this link
    http://www.sapdevelopment.co.uk/dialog/dialoghome.htm
    http://help.sap.com/saphelp_webas630/helpdata/en/9f/db9cdc35c111d1829f0000e829fbfe/content.htm
    Check this link for sample code.
    http://www.sapgenie.com/abap/example_code.htm
    http://www.sap-img.com/abap.htm
    also,
    http://help.sap.com/saphelp_nw04/helpdata/en/c9/5472fc787f11d194c90000e8353423/frameset.htm
    rgds
    anver
    if hlped pls mark points
    Message was edited by: Anversha s

  • Failed to package book for print - now hundreds of links are broken

    Hi,
    I have a book document with 32 pages (newspaper) locally on my mac. As I always do after finishing my document, I chose to package the book for print, and save it to CC files server. The packaging process never finished, so after 30 minutes I had to force shut-down on InDesign. When re-opening the book file, I discover that ALL the documents has broken links. Some of the links belongs to the master pages, and most are specific to only this document, and they are located in several different folders on my mac. It will take hours to re-locate all of this links for each page.
    I think I have been experiencing this before, but miraculously it all changed back to normal. Now, however, a restart of my mac didm´t do anything.
    Why is this happening, and do anyone have a quick solution to fix this?
    Thank u in advance

    Are you talking about what I said - "Seems like in the past, I saved a copy of my book, then packaged the copy for print?"
    I thought that was the only way around it. I feel certain I will not make this mistake again. Luckily, most printers I work with prefer pdfs. It's just an insane bug. If it's not a bug, it's a major flaw in the program. People do package books. The option wouldn't be in there if we didn't do it sometimes.

  • I have been unable to download adobe acrobat pro, which I purchased on a month to month basis almost exactly 1 year ago, since I purchased it. I just received a renewal email and it had a link to download the program and for the first time when I clicked

    I have been unable to download adobe acrobat pro, which I purchased on a month to month basis almost exactly 1 year ago, since I purchased it. I just received a renewal email and it had a link to download the program and for the first time when I clicked on the link it actually sent me to a page that had the icon to download now. I clicked on that, but when I went to open the file and start downloading after about 3 minutes into downloading it says an error had occurred. Can anyone help me?

    I am a little worried. If you are an existing subscriber why would Adobe need you to download... I wonder if the message is a fake.
    I'm not clear, if you've had it for a year, whether you need to download, or you are just following the email?
    This page with the icon to download now. Was it a page on adobe.com ?

  • I made a purchase of books through the program, with the money as I was cleared for two purchases and I did not have books

    I made a purchase of books through the program, with the money as I was cleared for two purchases and I did not have books

    This morning, I did a power down and reboot of the I-Pad, that got the "Please Wait" resolved.  I then tried clicking on the additional picture set and it did download and install, so the problem is now resolved.

  • After my windows 7 computer did automatic updates, everytime I click on a link I get a not responding message and have to wait almost a minute for the program to continue.

    Last night, my computer running Windows 7 premium home edition downloaded some automatic updates. I came in this morning to find that it had done a restart after adding these updates.
    Now, anytime I click a link or do something which requires a redirect to another web page, my program gives me the not responding message and I have to wait 30-55 seconds for the program to continue.
    I have Firefox 4 and it was running smoothly up until this morning, so I can only assume that whatever the automatic updates were, there is something in them that is causing this error. I do not know what updates were installed.

    I don't have that problem in Firefox 29 when I read Gmail or AOL (aim''.''com) webmail. When I click on a webpage link in an email I'm reading (example: http://www.tworivertheater.org/ ) the link opens in a separate Firefox tab.
    Are you saying this doesn't happen in outlook''.''com webmail and the link opens in the same Firefox tab as the email itself? I don't use outlook''.''com webmail myself. Hopefully someone will be along who does, or see [[Problems with email and how to find help]].
    It might help if you would confirm the type of link that is opening in the same tab as the email you are reading in your outlook webmail. If I misunderstood your problem, please explain it better.
    It might also help if you could furhish more troubleshooting information. Please do the following:
    *'''For Firefox 29.0 and above''': Click the menu button [[Image:New Fx Menu]], click help [[Image:Help-29]] and select ''Troubleshooting Information''.
    Now, a new tab containing your troubleshooting information should open.
    *At the top of the page, you should see a button that says "Copy text to clipboard". Click it.
    *Now, go back to your forum post and click inside the reply box. Press Ctrl+V to paste all the information you copied into the forum post.
    If you need further information about the Troubleshooting information page, please read the article [[Use the Troubleshooting Information page to help fix Firefox issues]].

  • Any socket programming sample program or API for transfer file?

    Do there any java socket programming sample program or API for transfer file ,list file and make directory from client side?
    Thank you

    http://forum.java.sun.com/thread.jspa?threadID=603685&tstart=0

Maybe you are looking for

  • Cannot connect to the configuration database when App Server is down

    Hi,  We had a App Server not come up after a restart. When trying to access a site we get the "Cannot connect to the configuration database" We have now started the App Server and everything working again... My problem, there are 2 WFE servers with N

  • How to add posting date in MB5S ?

    Sir , I have been assigned the same task to add posting date in MB5S . kindly provide me steps and logic . First Step According to me would be to first Copy Program RM07MSAL in ZRM07MSAL using se80 . But How to add Filteration according to Posting Da

  • EJB Bean not being called

    HI I have a session bean deployed on Weblogic 8.1, when I try to call a method on bean from a simple class (out side of server context) it is just calling the method on the remote object but not Bean object. I made a jar file and deployed it through

  • JMS Exception: Connection not found

    I get a Connection not found exception when creating a TopicSession to communicate with a remote server. Here's the situation. I have several MDBs listening to one jms topic on Weblogic 6.1. They work properly sending and receiving jms messages from

  • How to remove "01. [song name]" recursively?

    There are several questions in his community that treat the same issue, but I have a different circumstance. I used different software to rip CDs and the actual file name has the track numbers in it. How do I remove this without having to get info on