From: nabbasi@pacbell.net.NOSPAM
Subject: Re: Ada interface to Jave network socket
Date: 2000/05/29
Date: 2000-05-29T00:00:00+00:00 [thread overview]
Message-ID: <8gta96$1fnt@drn.newsguy.com> (raw)
In-Reply-To: 3930B462.66199B57@compuserve.com
In article <3930B462.66199B57@compuserve.com>, "Richard says...
>The interface is through a tcp socket connection. The Ada code is to
>connect with
>a network socket created in Java then pass messages across.
You can use Berkeley sockets from Ada. There is a Ada package
for that call AdaSockets.
http://www-inf.enst.fr/ANC/
If the Ada program is the client, and if you are using TCP (not UDP),
simply create a socket() using Java socket address (IP/port), then
call connect() on the socket, then use write() to send data.
for UDP, slightly different calls needs to be used (sendto(), no connection,
see your TCP/IP book for more info).
Nasser
prev parent reply other threads:[~2000-05-29 0:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-05-28 0:00 Ada interface to Jave network socket Richard Y. C. Lee
2000-05-29 0:00 ` nabbasi [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox