LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-09-2006, 11:33 PM   #1
sathishkumar
LQ Newbie
 
Registered: Jan 2006
Posts: 2

Rep: Reputation: 0
connection between java socket and unix socket


I would like to connect java socket and unix socket.
consider that client socket is java and server socket Unix socket. For java socket as a client i am using windows Xp machine with ordinary user. At server side
unix system. how can i do it ?
 
Old 01-10-2006, 03:21 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,544

Rep: Reputation: 159Reputation: 159
Moved: This thread is more suitable in Programming and has been moved accordingly to help your thread/question get the exposure it deserves.

Sockets in Java are just an implementation of Unix sockets in a different language. You should be able to write the two programs separately and they should communicate correctly. First you need to open sockets from both sides and connect. Then simple read and write operations should transfer data between the peers.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot read data at server socket, though client socket sends it jacques83 Linux - Networking 0 11-15-2005 01:58 PM
Unable to connect to UNIX socket /tmp/.esd/socket error while using grip dr_zayus69 Linux - Software 4 08-23-2005 07:28 PM
Unix socket programming - how to sent a file Scrag Programming 9 03-28-2004 09:54 PM
How to set SQL to UNIX socket Skunk_Face Linux - General 1 01-19-2004 06:20 AM
KDevelop Unix Socket Problem shibdas Linux - Software 0 07-30-2003 01:50 PM


All times are GMT -5. The time now is 12:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration