Results 1 to 2 of 2
  1. #1
    JavaInLove is offline Member
    Join Date
    Feb 2008
    Posts
    13
    Rep Power
    0

    Question Windows Service sending data to a java app through Sockets?

    Hi

    I was wondering is this idea possible? When i try it it aint working for me at the moment but when i try it with a C# console application it works.. so something is missing somewhere.

    I know the windows service is functioning properly as i managed to get it to write to a file but perhaps its the socket codes.

    If my idea does not work or can anybody suggests a better alternative for having a Windows Service to communicate with a Java App apart from using network sockets? I prefer not to go down the JNI route if it can be avoided..

    any ideas?

  2. #2
    JavaInLove is offline Member
    Join Date
    Feb 2008
    Posts
    13
    Rep Power
    0

    Thumbs up

    never mind. i fixed the problem.

    problem was a silly one - forgot to start the connection.

    So i guess it is possible to do then.

    regards

Similar Threads

  1. Sending linked lists via sockets
    By deepthought015 in forum Networking
    Replies: 1
    Last Post: 04-26-2009, 02:33 AM
  2. Replies: 6
    Last Post: 12-29-2008, 03:14 AM
  3. Sending files over sockets!
    By rameshraj in forum Networking
    Replies: 2
    Last Post: 05-30-2008, 10:18 PM
  4. Sending Mail Using Sockets
    By Java Tip in forum java.net
    Replies: 0
    Last Post: 04-07-2008, 08:05 PM
  5. Problems sending file throught TCP sockets
    By Nite in forum Advanced Java
    Replies: 2
    Last Post: 08-04-2007, 09:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •