🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #7697

Re: Java C

#7697
From: Torsten Welches
Date: Mon, 28 May 2001 11:56
26 lines
1683 bytes
a socket connection is a raw byte connection, so it's not 
important if one side is C and the other Java. Both sides have 
to agree on a common "protocol" to ensure that both sides 
interpret the byte stream in the same way.

Here's a basic tutorial on Sockets:
http://java.sun.com/docs/books/tutorial/networking/sockets/index.html

Torsten


"edwinshoo" <edwinshoo@supanet.com> wrote:
>Would you please tell me how to use "socket" to communicate with C and Java?
>I can use socket to communicate between Client and Server in C. (Java as
>well)
>
>However, I wonder how can a Java Server Communicate with C Client.
>I think their methods are quite different......
>
>(I wanna sent  images from c to java.)
>
>
>Thanks for your reply
>
>
Technical Details
Message-ID: <3b123cef$1_2@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!logbridge.uoregon.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews
References: <3b1237b4_1@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,8377e0e08a0a6e55
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-05-28 05:20:03 PST
From: "Torsten Welches" <torsten.welches@who.cares.netcologne.de>
Sender: "Torsten Welches" <torsten.welches@who.cares.netcologne.de>
Reply-To: "Torsten Welches" <torsten.welches@who.cares.netcologne.de>
Subject: Re: Java C
Newsgroups: borland.public.jbuilder.java.language
X-User-Info: 193.158.55.74 193.158.55.74    
References:  <3b1237b4_1@dnews> 
NNTP-Posting-Host: 207.105.83.65
Message-ID: <3b123cef$1_2@dnews>
Date: 28 May 2001 04:56:31 -0700
X-Trace: dnews 991050991 207.105.83.65 (28 May 2001 04:56:31 -0700)
Lines: 27
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!logbridge.uoregon.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews